| Modifier | Constructor and Description |
|---|---|
protected |
Listener() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
onError(java.lang.Exception e)
This event is triggered when some error occurs in the room handler.
|
protected void |
onJoin()
This event is triggered when the client successfuly joins the room.
|
protected void |
onLeave()
This event is triggered when the client leave the room.
|
protected void |
onMessage(java.lang.Object message)
This event is triggered when the server sends a message directly to the client.
|
protected void |
onStateChange(T state,
boolean isFirstState)
This event is triggered when the server updates its state.
|
protected void onLeave()
protected void onError(java.lang.Exception e)
protected void onMessage(java.lang.Object message)
protected void onJoin()
protected void onStateChange(T state, boolean isFirstState)