The goog.net.xpc.NixTransport Class

goog.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}
The channel this transport belongs to.
opt_domHelper {goog.dom.DomHelper=}
The dom helper to use for finding the correct window.

.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}
The callback function.
opt_scope {Object=}
An optional scope to call the callback in.

.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.

returns {void}
Nothing.

.disposeInternal()

.getName()

Inherited from goog.net.xpc.Transport .

Return the transport name.

returns {string}
the transport name.

.getType()

Inherited from goog.net.xpc.Transport .

returns {number}
The transport type identifier.

.getWindow()

Inherited from goog.net.xpc.Transport .

Returns the window associated with this transport instance.

returns {Window}
The window to use.

.isDisposed()

Inherited from goog.Disposable .

returns {boolean}
Whether the object has been disposed of.

.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.

returns {boolean}
Whether window.opener behavior is compatible with NIX.

.registerDisposable(disposable)

Inherited from goog.Disposable .

Associates a disposable object with this object so that they will be disposed together.

disposable {goog.disposable.IDisposable}
that will be disposed when this object is disposed.

.send(service, payload)

Sends a message.

service {string}
The name of the service the message is to be delivered to.
payload {string}
The message content.

.transportServiceHandler(payload)

Inherited from goog.net.xpc.Transport .

Handles transport service messages (internal signalling).

payload {string}
The message content.