| Modifier and Type | Field and Description |
|---|---|
| protected final WsRemoteEndpointImplBase |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| public final void | flushBatch()
Implements jakarta. Flush any currently batched messages to the remote endpoint. |
| public final boolean | getBatchingAllowed()
Implements jakarta. Obtains the current batching status of the endpoint. |
| public final void | sendPing(ByteBuffer
The payload for the ping message applicationData)Implements jakarta. Send a ping message blocking until the message has been sent. |
| public final void | sendPong(ByteBuffer
The payload for the pong message applicationData)Implements jakarta. Send a pong message blocking until the message has been sent. |
| public final void | setBatchingAllowed(boolean
New setting batchingAllowed)Implements jakarta. Enable or disable the batching of outgoing messages for this endpoint. |
| base | back to summary |
|---|---|
| protected final WsRemoteEndpointImplBase base | |
| WsRemoteEndpointBase | back to summary |
|---|---|
| pack-priv WsRemoteEndpointBase(WsRemoteEndpointImplBase base) | |
| flushBatch | back to summary |
|---|---|
| public final void flushBatch() throws IOException Implements jakarta. Doc from jakarta. Flush any currently batched messages to the remote endpoint. This method will block until the flush completes.
| |
| getBatchingAllowed | back to summary |
|---|---|
| public final boolean getBatchingAllowed() Implements jakarta. Doc from jakarta. Obtains the current batching status of the endpoint.
| |
| sendPing | back to summary |
|---|---|
| public final void sendPing(ByteBuffer applicationData) throws IOException, IllegalArgumentException Implements jakarta. Doc from jakarta. Send a ping message blocking until the message has been sent. Note that if a message is in the process of being sent asynchronously, this method will block until that message and this ping has been sent.
| |
| sendPong | back to summary |
|---|---|
| public final void sendPong(ByteBuffer applicationData) throws IOException, IllegalArgumentException Implements jakarta. Doc from jakarta. Send a pong message blocking until the message has been sent. Note that if a message is in the process of being sent asynchronously, this method will block until that message and this pong has been sent.
| |
| setBatchingAllowed | back to summary |
|---|---|
| public final void setBatchingAllowed(boolean batchingAllowed) throws IOException Implements jakarta. Doc from jakarta. Enable or disable the batching of outgoing messages for this endpoint. If batching is disabled when it was previously enabled then this method will block until any currently batched messages have been written.
| |