Interface ServerSession.Extension

All Known Implementing Classes:
AcknowledgedMessagesSessionExtension, ActivityExtension.SessionExtension, BinarySessionExtension
Enclosing interface:
ServerSession

public static interface ServerSession.Extension

Extension API for ServerSession.

Implementations of this interface allow to modify incoming and outgoing messages for a particular session, before any other processing performed by the implementation but after BayeuxServer.Extension processing.

Multiple extensions can be registered; the extension receive methods are invoked in registration order, while the extension send methods are invoked in registration reverse order.

See Also:
ServerSession.addExtension(Extension), BayeuxServer.Extension