goog.Disposable | |
goog.messaging.PortOperator | goog.Disposable |
name
: string
The name of this node.
|
![]()
Adds a caller to the network with the given name. This port should have no
services registered on it. It will be disposed along with the PortOperator.
Arguments:
|
code » | |||
![]()
Connects together the operator and a caller by creating a
MessageChannel and sending one end to the remote context.
Arguments:
|
code » | |||
![]()
No description.
|
code » | |||
![]()
No description.
|
code » | |||
![]()
Connects two contexts by creating a
MessageChannel and sending one
end to one context and the other end to the other. Called when we receive a
request from a caller to connect it to another context (including potentially
the operator).
|
code » |
![]()
Invokes a callback function when this object is disposed. Callbacks are
invoked in the order in which they were added.
Arguments:
|
code » | |||
![]()
Disposes of the object. If the object hasn't already been disposed of, calls
#disposeInternal . Classes that extend goog.Disposable should
override #disposeInternal in order to delete references to COM
objects, DOM nodes, and other disposable objects. Reentrant.
Returns: void
Nothing.
|
code » | |||
![]()
Deletes or nulls out any references to COM objects, DOM nodes, or other
disposable objects. Classes that extend
goog.Disposable should
override this method.
Not reentrant. To avoid calling it twice, it must only be called from the
subclass' disposeInternal method. Everywhere else the public
dispose method must be used.
For example:
mypackage.MyClass = function() { mypackage.MyClass.base(this, 'constructor'); // Constructor logic specific to MyClass. ... }; goog.inherits(mypackage.MyClass, goog.Disposable); mypackage.MyClass.prototype.disposeInternal = function() { // Dispose logic specific to MyClass. ... // Call superclass's disposeInternal at the end of the subclass's, like // in C++, to avoid hard-to-catch issues. mypackage.MyClass.base(this, 'disposeInternal'); }; |
code » | |||
Use
#isDisposed instead.
No description.
Returns: boolean
Whether the object has been disposed of.
|
code » | |||
No description.
Returns: boolean
Whether the object has been disposed of.
|
code » | |||
![]()
Associates a disposable object with this object so that they will be disposed
together.
Arguments:
|
code » |
![]()
The collection of channels for communicating with other contexts in the
network. These are the channels that are returned to the user, as opposed
to the channels used for internal network communication. This is lazily
populated as the user requests communication with other contexts, or other
contexts request communication with the operator.
|
Code » | |
![]()
No description.
|
Code » | |
The logger for PortOperator.
|
Code » | |
![]()
The name of the operator context.
|
Code » | |
![]()
The collection of channels for internal network communication with other
contexts. This is not lazily populated, and always contains entries for
each member of the network.
|
Code » |
![]()
No description.
|
Code » |