public class JsrAsyncRemote extends AbstractJsrRemote implements RemoteEndpoint.Async
RemoteEndpoint.Async, RemoteEndpoint.Basic
encoders, 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, setBatchingAllowed
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
flushBatch, getBatchingAllowed, sendPing, sendPong, setBatchingAllowed
protected JsrAsyncRemote(JsrSession session)
public long getSendTimeout()
getSendTimeout
in interface RemoteEndpoint.Async
public Future<Void> sendBinary(ByteBuffer data)
sendBinary
in interface RemoteEndpoint.Async
public void sendBinary(ByteBuffer data, SendHandler handler)
sendBinary
in interface RemoteEndpoint.Async
public Future<Void> sendObject(Object data)
sendObject
in interface RemoteEndpoint.Async
public void sendObject(Object data, SendHandler handler)
sendObject
in interface RemoteEndpoint.Async
public Future<Void> sendText(String text)
sendText
in interface RemoteEndpoint.Async
public void sendText(String text, SendHandler handler)
sendText
in interface RemoteEndpoint.Async
public void setSendTimeout(long timeoutmillis)
setSendTimeout
in interface RemoteEndpoint.Async
Copyright © 1995-2015 Webtide. All Rights Reserved.