public static interface Net.WebSocket.Listener
| Modifier and Type | Method and Description |
|---|---|
void |
onClose()
Reports that a web socket has been closed.
|
void |
onDataMessage(java.nio.ByteBuffer msg)
Reports that a binary message has arrived on a web socket.
|
void |
onError(java.lang.String reason)
Reports that a web socket has encountered an error.
|
void |
onOpen()
Reports that a requested web socket is now open and ready for use.
|
void |
onTextMessage(java.lang.String msg)
Reports that a text message has arrived on a web socket.
|
void onOpen()
void onTextMessage(java.lang.String msg)
void onDataMessage(java.nio.ByteBuffer msg)
void onClose()
void onError(java.lang.String reason)
Copyright © 2018. All Rights Reserved.