|
WebSocket 1.0 - Apache Tomcat 7.0.47 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface RemoteEndpoint
Nested Class Summary | |
---|---|
static interface |
RemoteEndpoint.Async
|
static interface |
RemoteEndpoint.Basic
|
Method Summary | |
---|---|
void |
flushBatch()
Flush any currently batched messages to the remote endpoint. |
boolean |
getBatchingAllowed()
Obtains the current batching status of the endpoint. |
void |
sendPing(java.nio.ByteBuffer applicationData)
Send a ping message blocking until the message has been sent. |
void |
sendPong(java.nio.ByteBuffer applicationData)
Send a pong message blocking until the message has been sent. |
void |
setBatchingAllowed(boolean batchingAllowed)
Enable or disable the batching of outgoing messages for this endpoint. |
Method Detail |
---|
void setBatchingAllowed(boolean batchingAllowed) throws java.io.IOException
batchingAllowed
- New setting
java.io.IOException
- If changing the value resulted in a call to
flushBatch()
and that call threw an
IOException
.boolean getBatchingAllowed()
void flushBatch() throws java.io.IOException
java.io.IOException
void sendPing(java.nio.ByteBuffer applicationData) throws java.io.IOException, java.lang.IllegalArgumentException
applicationData
- The payload for the ping message
java.io.IOException
java.lang.IllegalArgumentException
void sendPong(java.nio.ByteBuffer applicationData) throws java.io.IOException, java.lang.IllegalArgumentException
applicationData
- The payload for the pong message
java.io.IOException
java.lang.IllegalArgumentException
|
WebSocket 1.0 - Apache Tomcat 7.0.47 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |