goog.net.xpc.NixTransport
Classgoog.net.xpc.NixTransport
> goog.net.xpc.Transport
> goog.Disposable
goog.net.xpc.NixTransport(channel, opt_domHelper)
NIX method transport. NOTE(user): NIX method tested in all IE versions starting from 6.0.
channel
{goog.net.xpc.CrossPageChannel
}
opt_domHelper
{goog.dom.DomHelper
=}
.NIX_CREATE_CHANNEL
{string
}The name of the create channel method used by the wrapper class when calling the transport.
.NIX_GET_WRAPPER
{string
}Global name of the GetWrapper VBScript function. This constant is used by JavaScript to call this function. Note that this function will be stored in the *global* namespace (i.e. window in browsers).
.NIX_HANDLE_MESSAGE
{string
}The name of the handle message method used by the wrapper class when calling the transport.
.NIX_ID_FIELD
{string
}A "unique" identifier that is stored in the wrapper class so that the wrapper can be distinguished from other objects easily.
.NIX_WRAPPER
{string
}Global name of the Wrapper VBScript class. Note that this class will be stored in the *global* namespace (i.e. window in browsers).
.addOnDisposeCallback(callback, opt_scope)
Inherited from goog.Disposable
.
Invokes a callback function when this object is disposed. Callbacks are invoked in the order in which they were added.
callback
{!Function
}
opt_scope
{Object
=}
.connect()
Connect this transport.
.creationStack
{string
}Inherited from goog.Disposable
.
If monitoring the goog.Disposable instances is enabled, stores the creation stack trace of the Disposable instance.
.dispose()
Inherited from goog.Disposable
.
Disposes of the object. If the object hasn't already been disposed of, calls {@link #disposeInternal}. Classes that extend {@code goog.Disposable} should override {@link #disposeInternal} in order to delete references to COM objects, DOM nodes, and other disposable objects. Reentrant.
void
}
.disposeInternal()
.getDisposed
[deprecated]Deprecated. Use {@link #isDisposed} instead.
Inherited from goog.Disposable
.
boolean
}
.getName()
Inherited from goog.net.xpc.Transport
.
Return the transport name.
string
}
.getType()
Inherited from goog.net.xpc.Transport
.
number
}
.getWindow()
Inherited from goog.net.xpc.Transport
.
Returns the window associated with this transport instance.
Window
}
.isDisposed()
Inherited from goog.Disposable
.
boolean
}
.isNixSupported()
Determines if the installed version of IE supports accessing window.opener after it has been set to a non-Window/null value. NIX relies on this being possible.
boolean
}
.registerDisposable(disposable)
Inherited from goog.Disposable
.
Associates a disposable object with this object so that they will be disposed together.
disposable
{goog.disposable.IDisposable
}
.send(service, payload)
Sends a message.
service
{string
}
payload
{string
}
.transportServiceHandler(payload)
Inherited from goog.net.xpc.Transport
.
Handles transport service messages (internal signalling).
payload
{string
}
.transportType
[protected] {number
}The transport type.