public class JsrAsyncRemote extends AbstractJsrRemote implements RemoteEndpoint.Async
RemoteEndpoint.Async, RemoteEndpoint.Basicencoders, jettyRemote, session| Modifier | Constructor and Description |
|---|---|
protected |
JsrAsyncRemote(JsrSession session) |
| Modifier and Type | Method and Description |
|---|---|
long |
getSendTimeout() |
Future<Void> |
sendBinary(ByteBuffer data) |
void |
sendBinary(ByteBuffer data,
SendHandler handler) |
Future<Void> |
sendObject(Object data) |
void |
sendObject(Object data,
SendHandler handler) |
Future<Void> |
sendText(String text) |
void |
sendText(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 Future<Void> sendBinary(ByteBuffer data)
sendBinary in interface RemoteEndpoint.Asyncpublic void sendBinary(ByteBuffer data, SendHandler handler)
sendBinary in interface RemoteEndpoint.Asyncpublic Future<Void> sendObject(Object data)
sendObject in interface RemoteEndpoint.Asyncpublic void sendObject(Object data, SendHandler handler)
sendObject in interface RemoteEndpoint.Asyncpublic Future<Void> sendText(String text)
sendText in interface RemoteEndpoint.Asyncpublic void sendText(String text, SendHandler handler)
sendText in interface RemoteEndpoint.Asyncpublic void setSendTimeout(long timeoutmillis)
setSendTimeout in interface RemoteEndpoint.AsyncCopyright © 1995-2015 Webtide. All Rights Reserved.