RemoteEndpoint, RemoteEndpoint.Asyncpublic class JsrAsyncRemote extends AbstractJsrRemote implements RemoteEndpoint.Async
RemoteEndpoint.Async, RemoteEndpoint.Basicencoders, jettyRemote, session| Modifier | Constructor | Description |
|---|---|---|
protected |
JsrAsyncRemote(JsrSession session) |
| Modifier and Type | Method | Description |
|---|---|---|
long |
getSendTimeout() |
|
java.util.concurrent.Future<java.lang.Void> |
sendBinary(java.nio.ByteBuffer data) |
|
void |
sendBinary(java.nio.ByteBuffer data,
SendHandler handler) |
|
java.util.concurrent.Future<java.lang.Void> |
sendObject(java.lang.Object data) |
|
void |
sendObject(java.lang.Object data,
SendHandler handler) |
|
java.util.concurrent.Future<java.lang.Void> |
sendText(java.lang.String text) |
|
void |
sendText(java.lang.String text,
SendHandler handler) |
|
void |
setSendTimeout(long timeoutmillis) |
assertMessageNotNull, assertSendHandlerNotNull, flushBatch, getBatchingAllowed, sendObjectViaFuture, sendPing, sendPong, setBatchingAllowedclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitflushBatch, getBatchingAllowed, sendPing, sendPong, setBatchingAllowedprotected JsrAsyncRemote(JsrSession session)
public long getSendTimeout()
getSendTimeout in interface RemoteEndpoint.Asyncpublic java.util.concurrent.Future<java.lang.Void> sendBinary(java.nio.ByteBuffer data)
sendBinary in interface RemoteEndpoint.Asyncpublic void sendBinary(java.nio.ByteBuffer data,
SendHandler handler)
sendBinary in interface RemoteEndpoint.Asyncpublic java.util.concurrent.Future<java.lang.Void> sendObject(java.lang.Object data)
sendObject in interface RemoteEndpoint.Asyncpublic void sendObject(java.lang.Object data,
SendHandler handler)
sendObject in interface RemoteEndpoint.Asyncpublic java.util.concurrent.Future<java.lang.Void> sendText(java.lang.String text)
sendText in interface RemoteEndpoint.Asyncpublic void sendText(java.lang.String text,
SendHandler handler)
sendText in interface RemoteEndpoint.Asyncpublic void setSendTimeout(long timeoutmillis)
setSendTimeout in interface RemoteEndpoint.AsyncCopyright © 1995–2018 Webtide. All rights reserved.