public class JsrBasicRemote extends AbstractJsrRemote implements RemoteEndpoint.Basic
RemoteEndpoint.Async, RemoteEndpoint.Basicencoders, jettyRemote, session| Modifier | Constructor and Description |
|---|---|
protected |
JsrBasicRemote(JsrSession session) |
| Modifier and Type | Method and Description |
|---|---|
OutputStream |
getSendStream() |
Writer |
getSendWriter() |
void |
sendBinary(ByteBuffer data) |
void |
sendBinary(ByteBuffer partialByte,
boolean isLast) |
void |
sendObject(Object data) |
void |
sendText(String text) |
void |
sendText(String partialMessage,
boolean isLast) |
assertMessageNotNull, assertSendHandlerNotNull, flushBatch, getBatchingAllowed, sendObjectViaFuture, sendPing, sendPong, setBatchingAllowedclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitflushBatch, getBatchingAllowed, sendPing, sendPong, setBatchingAllowedprotected JsrBasicRemote(JsrSession session)
public OutputStream getSendStream() throws IOException
getSendStream in interface RemoteEndpoint.BasicIOExceptionpublic Writer getSendWriter() throws IOException
getSendWriter in interface RemoteEndpoint.BasicIOExceptionpublic void sendBinary(ByteBuffer data) throws IOException
sendBinary in interface RemoteEndpoint.BasicIOExceptionpublic void sendBinary(ByteBuffer partialByte, boolean isLast) throws IOException
sendBinary in interface RemoteEndpoint.BasicIOExceptionpublic void sendObject(Object data) throws IOException, EncodeException
sendObject in interface RemoteEndpoint.BasicIOExceptionEncodeExceptionpublic void sendText(String text) throws IOException
sendText in interface RemoteEndpoint.BasicIOExceptionpublic void sendText(String partialMessage, boolean isLast) throws IOException
sendText in interface RemoteEndpoint.BasicIOExceptionCopyright © 1995-2015 Webtide. All Rights Reserved.