public class JsrBasicRemote extends AbstractJsrRemote implements RemoteEndpoint.Basic
RemoteEndpoint.Async, RemoteEndpoint.Basic
encoders, 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, setBatchingAllowed
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
flushBatch, getBatchingAllowed, sendPing, sendPong, setBatchingAllowed
protected JsrBasicRemote(JsrSession session)
public OutputStream getSendStream() throws IOException
getSendStream
in interface RemoteEndpoint.Basic
IOException
public Writer getSendWriter() throws IOException
getSendWriter
in interface RemoteEndpoint.Basic
IOException
public void sendBinary(ByteBuffer data) throws IOException
sendBinary
in interface RemoteEndpoint.Basic
IOException
public void sendBinary(ByteBuffer partialByte, boolean isLast) throws IOException
sendBinary
in interface RemoteEndpoint.Basic
IOException
public void sendObject(Object data) throws IOException, EncodeException
sendObject
in interface RemoteEndpoint.Basic
IOException
EncodeException
public void sendText(String text) throws IOException
sendText
in interface RemoteEndpoint.Basic
IOException
public void sendText(String partialMessage, boolean isLast) throws IOException
sendText
in interface RemoteEndpoint.Basic
IOException
Copyright © 1995-2015 Webtide. All Rights Reserved.