| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| public long | getSendTimeout()
Implements jakarta. Obtain the timeout (in milliseconds) for sending a message asynchronously. |
| public Future | sendBinary(ByteBuffer
The text message to send data)Implements jakarta. Send the message asynchronously, using the Future to signal to the client when the message has been sent. |
| public void | sendBinary(ByteBuffer
The text message to send data, SendHandler Used to signal to the client when the message has been sent completion)Implements jakarta. Send the message asynchronously, using the SendHandler to signal to the client when the message has been sent. |
| public Future | sendObject(Object
The object to be sent. obj)Implements jakarta. Encodes object as a message and sends it asynchronously, using the Future to signal to the client when the message has been sent. |
| public void | sendObject(Object
The object to be sent. obj, SendHandler Used to signal to the client when the message has been sent completion)Implements jakarta. Encodes object as a message and sends it asynchronously, using the SendHandler to signal to the client when the message has been sent. |
| public void | sendText(String
The text message to send text, SendHandler Used to signal to the client when the message has been sent completion)Implements jakarta. Send the message asynchronously, using the SendHandler to signal to the client when the message has been sent. |
| public Future | sendText(String
The text message to send text)Implements jakarta. Send the message asynchronously, using the Future to signal to the client when the message has been sent. |
| public void | setSendTimeout(long
The new timeout for sending messages asynchronously in milliseconds. A non-positive value
means an infinite timeout. timeout)Implements jakarta. Set the timeout (in milliseconds) for sending a message asynchronously. |
| WsRemoteEndpointAsync | back to summary |
|---|---|
| pack-priv WsRemoteEndpointAsync(WsRemoteEndpointImplBase base) | |
| getSendTimeout | back to summary |
|---|---|
| public long getSendTimeout() Implements jakarta. Doc from jakarta. Obtain the timeout (in milliseconds) for sending a message asynchronously. The default value is determined by
| |
| sendBinary | back to summary |
|---|---|
| public Future Implements jakarta. Doc from jakarta. Send the message asynchronously, using the Future to signal to the client when the message has been sent.
| |
| sendBinary | back to summary |
|---|---|
| public void sendBinary(ByteBuffer data, SendHandler completion) Implements jakarta. Doc from jakarta. Send the message asynchronously, using the SendHandler to signal to the client when the message has been sent.
| |
| sendObject | back to summary |
|---|---|
| public Future Implements jakarta. Doc from jakarta. Encodes object as a message and sends it asynchronously, using the Future to signal to the client when the message has been sent. | |
| sendObject | back to summary |
|---|---|
| public void sendObject(Object obj, SendHandler completion) Implements jakarta. Doc from jakarta. Encodes object as a message and sends it asynchronously, using the SendHandler to signal to the client when the message has been sent.
| |
| sendText | back to summary |
|---|---|
| public void sendText(String text, SendHandler completion) Implements jakarta. Doc from jakarta. Send the message asynchronously, using the SendHandler to signal to the client when the message has been sent.
| |
| sendText | back to summary |
|---|---|
| public Future Implements jakarta. Doc from jakarta. Send the message asynchronously, using the Future to signal to the client when the message has been sent. | |
| setSendTimeout | back to summary |
|---|---|
| public void setSendTimeout(long timeout) Implements jakarta. Doc from jakarta. Set the timeout (in milliseconds) for sending a message asynchronously. The default value is determined by
| |