Interface Session.Listener

All Known Subinterfaces:
Session.Listener.AutoDemanding
All Known Implementing Classes:
Session.Listener.Abstract, Session.Listener.AbstractAutoDemanding
Enclosing interface:
Session

public static interface Session.Listener

The passive link of communication with a remote WebSocket endpoint.

Applications provide WebSocket endpoints that implement this interface to receive WebSocket events from the remote peer, and can use Session for configuration and to send WebSocket frames or messages to the other peer.