search

goog.messaging.BufferedChannel

Provided By
Extends
All Implemented Interfaces

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.

new BufferedChannel( messageChannel, opt_interval )

Parameters
messageChannelgoog.messaging.MessageChannel

The MessageChannel we're wrapping.

opt_intervalnumber=

Polling interval for sending ready notifications to peer, in ms. Default is 50.

Instance Methods

Instance Properties