goog.messaging.PortNetwork
Interfacegoog.messaging.PortNetwork()
unhandled information:
type
'interface'
.GRANT_CONNECTION_SERVICE
{string
}The name of the service exported by the callers for adding a connection to another context.
.REQUEST_CONNECTION_SERVICE
{string
}The name of the service exported by the operator for creating a connection between two callers.
.dial(name)
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.
name
{string
}
goog.messaging.MessageChannel
}