goog.messaging.PortNetwork |
Returns a message channel that communicates with the named context. If no
such port exists, an error will either be thrown immediately or after a round
trip with the operator, depending on whether this pool is the operator or a
caller.
If context A calls dial('B') and context B calls dial('A'), the two
ports returned will be connected to one another.
Arguments:
Returns: goog.messaging.MessageChannel
The channel communicating with the
given context. This is either a
goog.messaging.PortChannel or a
decorator around a PortChannel, so it's safe to send MessagePorts
across it. This will be disposed along with the PortNetwork.
|
code » |
![]()
The name of the service exported by the callers for adding a connection to
another context.
|
Code » | |
![]()
The name of the service exported by the operator for creating a connection
between two callers.
|
Code » |