goog.messaging
Namespacegoog.messaging.AbstractChannel
ClassCreates an abstract message channel. … more
goog.messaging.BufferedChannel
ClassCreates a new BufferedChannel, which operates like its underlying channel except that it buffers calls to send until it receives a message from its peer claiming that the peer is ready to receive. The peer is also expected to be a BufferedChannel, though this is not enforced. … more
goog.messaging.DeferredChannel
ClassCreates a new DeferredChannel, which wraps a deferred MessageChannel and enqueues messages to be sent once the wrapped channel is resolved. … more
goog.messaging.LoggerClient
ClassCreates a logger client that sends messages along a message channel for the remote end to log. The remote end of the channel should use a {goog.messaging.LoggerServer} with the same service name. … more
goog.messaging.LoggerServer
ClassCreates a logger server that logs messages on behalf of the remote end of a message channel. The remote end of the channel should use a {goog.messaging.LoggerClient} with the same service name. … more
goog.messaging.MessageChannel
Interfacegoog.messaging.MultiChannel
ClassCreates a new MultiChannel wrapping a single MessageChannel. The underlying channel shouldn't have any other listeners registered, but it should be connected. Note that the other side of the channel should also be connected to a MultiChannel with the same number of virtual channels. … more
goog.messaging.PortCaller
ClassThe leaf node of a network. … more
goog.messaging.PortChannel
ClassA wrapper for several types of HTML5 message-passing entities ({@link MessagePort}s and {@link WebWorker}s). This class implements the {@link goog.messaging.MessageChannel} interface. This class can be used in conjunction with other communication on the port. It sets {@link goog.messaging.PortChannel.FLAG} to true on all messages it sends. … more
goog.messaging.PortNetwork
Interfacegoog.messaging.PortOperator
ClassThe central node of a PortNetwork. … more
goog.messaging.RespondingChannel
ClassCreates a new RespondingChannel wrapping a single MessageChannel. … more
.pipe(channel1, channel2)
Creates a bidirectional pipe between two message channels.
channel1
{goog.messaging.MessageChannel
}
channel2
{goog.messaging.MessageChannel
}
goog.messaging.testdata
Namespace