Enclosing class:
: Session
public static interface Session.SignalListener
Monitors when a signal is sent in the session.
See Also:
: - Session.setSignalListener(SignalListener listener)
Method Summary
All MethodsInstance MethodsAbstract Methods
Modifier and Type
Method
Description
void
onSignalReceived(Session session, String type, String data, Connection connection)
Called when a signal is received in the session.
Method Details
onSignalReceived
void onSignalReceived(Session session, String type, String data, Connection connection)
Called when a signal is received in the session.
Parameters:
: session - The session in which the signal was sent.
: type - The type string of the signal.
: data - The signal data.
: connection - The connection identifying the client that sent the
message. This value can be null.