public static interface Net.WebSocket
| Modifier and Type | Interface and Description |
|---|---|
static interface |
Net.WebSocket.Listener
Notifies game of web socket events.
|
| Modifier and Type | Method and Description |
|---|---|
void |
close()
Requests that this web socket be closed.
|
void |
send(java.nio.ByteBuffer data)
Queues the supplied binary message to be sent over the socket.
|
void |
send(java.lang.String data)
Queues the supplied text message to be sent over the socket.
|
void close()
Net.WebSocket.Listener.onClose() when the socket closure is completed.void send(java.lang.String data)
void send(java.nio.ByteBuffer data)
Copyright © 2018. All Rights Reserved.