messaging

Classes

goog.messaging.AbstractChannel
Creates an abstract message channel.
goog.messaging.BufferedChannel
Creates 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.
goog.messaging.DeferredChannel
Creates a new DeferredChannel, which wraps a deferred MessageChannel and enqueues messages to be sent once the wrapped channel is resolved.
goog.messaging.LoggerClient
Creates 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.
goog.messaging.LoggerServer
Creates 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.
goog.messaging.MultiChannel
Creates 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.
goog.messaging.PortCaller
The leaf node of a network.
goog.messaging.PortChannel
A wrapper for several types of HTML5 message-passing entities ( MessagePorts and WebWorkers). This class implements the goog.messaging.MessageChannel interface. This class can be used in conjunction with other communication on the port. It sets goog.messaging.PortChannel.FLAG to true on all messages it sends.
goog.messaging.PortOperator
The central node of a PortNetwork.
goog.messaging.RespondingChannel
Creates a new RespondingChannel wrapping a single MessageChannel.

Public Protected Private

Global Functions

goog.messaging.pipe(channel1channel2)
Creates a bidirectional pipe between two message channels.
Arguments:
channel1 : goog.messaging.MessageChannel
The first channel.
channel2 : goog.messaging.MessageChannel
The second channel.
code »

Global Properties

goog.messaging.AbstractChannelTest :
No description.
Code »
goog.messaging.BufferedChannelTest :
No description.
Code »
goog.messaging.DeferredChannelTest :
No description.
Code »
goog.messaging.LoggerClientTest :
No description.
Code »
goog.messaging.LoggerServerTest :
No description.
Code »
goog.messaging.MultiChannelTest :
No description.
Code »
goog.messaging.PortCallerTest :
No description.
Code »
goog.messaging.PortOperatorTest :
No description.
Code »
goog.messaging.RespondingChannelTest :
No description.
Code »

Package messaging

Package Reference