search

goog.net.WebChannel.FailureRecovery

Provided By

This interface defines a pluggable API to allow WebChannel runtime to support customized algorithms in order to recover from transient failures such as those failures caused by network or proxies (intermediaries).

The algorithm may also choose to fail-fast, e.g. switch the client to some offline mode.

Extra measurements and logging could also be implemented in the custom module, which has the full knowledge of all the state transitions (due to failures).

A default algorithm will be provided by the webchannel library itself. Custom algorithms are expected to be tailored to specific client platforms or networking environments, e.g. mobile, cellular network.

Instance Methods

Enumerations