Interface ClientSession.Extension

All Known Implementing Classes:
AckExtension, BinaryExtension, TimestampClientExtension, TimesyncClientExtension
Enclosing interface:
ClientSession

public static interface ClientSession.Extension

Extension API for client session.

An extension allows user code to interact with the Bayeux protocol as late as messages are sent or as soon as messages are received.

Messages may be modified, or state held, so that the extension adds a specific behavior simply by observing the flow of Bayeux messages.

See Also: