public static interface RespokeDirectConnection.Listener
Modifier and Type | Method and Description |
---|---|
void |
onClose(RespokeDirectConnection sender)
Called when the direct connection is closed.
|
void |
onMessage(java.lang.String message,
RespokeDirectConnection sender)
Called when a message is received over the direct connection.
|
void |
onOpen(RespokeDirectConnection sender)
Called when the direct connection is opened.
|
void |
onStart(RespokeDirectConnection sender)
The direct connection setup has begun.
|
void onStart(RespokeDirectConnection sender)
sender
- The direct connection for which the event occurredvoid onOpen(RespokeDirectConnection sender)
sender
- The direct connection for which the event occurredvoid onClose(RespokeDirectConnection sender)
sender
- The direct connection for which the event occurredvoid onMessage(java.lang.String message, RespokeDirectConnection sender)
message
- The message received.sender
- The direct connection for which the event occurred