| Package | Description |
|---|---|
| javax.net.websocket |
| Modifier and Type | Method and Description |
|---|---|
Future<SendResult> |
RemoteEndpoint.sendBytes(byte[] data,
SendHandler completion)
Initiates the asynchronous transmission of a binary message.
|
Future<SendResult> |
RemoteEndpoint.sendObject(T o,
SendHandler handler)
Initiates the transmission of a custom developer object.
|
Future<SendResult> |
RemoteEndpoint.sendString(String text,
SendHandler completion)
Initiates the asynchronous transmission of a text message.
|
Copyright © 2012 Oracle and/or its affiliates. All rights reserved.