message transport. The methods
throw IOException when an I/O issue occurs or when the endpoint is closed.
MessageTransport
| Modifier and Type | Method and Description |
|---|---|
| public void | |
| public void | |
| public void | |
| public void | |
| public void |
| sendBinary | back to summary |
|---|---|
| public void sendBinary(ByteBuffer data) throws IOException Send a binary message.
| |
| sendClose | back to summary |
|---|---|
| public void sendClose() throws IOException Close the connection.
| |
| sendPing | back to summary |
|---|---|
| public void sendPing(ByteBuffer data) throws IOException Send a ping request.
| |
| sendPong | back to summary |
|---|---|
| public void sendPong(ByteBuffer data) throws IOException Send a pong reply as a response to ping.
| |
| sendText | back to summary |
|---|---|
| public void sendText(String text) throws IOException Send a text message.
| |