Session.SignalListener
Copy
public abstract static interface SignalListener
Enclosing class: Session
Monitors when a signal is sent in the session.
Methods
| Name | Description |
|---|---|
onSignalReceived(session, type, data, connection) |
Called when a signal is received in the session. |
onSignalReceived(session, type, data, connection)
Called when a signal is received in the session.
Parameters:
| Name | Type | Description |
|---|---|---|
session |
Session | The session in which the signal was sent. |
type |
String | The type string of the signal. |
data |
String | The signal data. |
connection |
Connection | The connection identifying the client that sent the message. This value can be null. |