RemoteEndpoint, RemoteEndpoint.Basicpublic class JsrBasicRemote extends AbstractJsrRemote implements RemoteEndpoint.Basic
RemoteEndpoint.Async, RemoteEndpoint.Basicencoders, jettyRemote, session| Modifier | Constructor | Description |
|---|---|---|
protected |
JsrBasicRemote(JsrSession session) |
| Modifier and Type | Method | Description |
|---|---|---|
java.io.OutputStream |
getSendStream() |
|
java.io.Writer |
getSendWriter() |
|
void |
sendBinary(java.nio.ByteBuffer data) |
|
void |
sendBinary(java.nio.ByteBuffer partialByte,
boolean isLast) |
|
void |
sendObject(java.lang.Object data) |
|
void |
sendText(java.lang.String text) |
|
void |
sendText(java.lang.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 java.io.OutputStream getSendStream()
throws java.io.IOException
getSendStream in interface RemoteEndpoint.Basicjava.io.IOExceptionpublic java.io.Writer getSendWriter()
throws java.io.IOException
getSendWriter in interface RemoteEndpoint.Basicjava.io.IOExceptionpublic void sendBinary(java.nio.ByteBuffer data)
throws java.io.IOException
sendBinary in interface RemoteEndpoint.Basicjava.io.IOExceptionpublic void sendBinary(java.nio.ByteBuffer partialByte,
boolean isLast)
throws java.io.IOException
sendBinary in interface RemoteEndpoint.Basicjava.io.IOExceptionpublic void sendObject(java.lang.Object data)
throws java.io.IOException,
EncodeException
sendObject in interface RemoteEndpoint.Basicjava.io.IOExceptionEncodeExceptionpublic void sendText(java.lang.String text)
throws java.io.IOException
sendText in interface RemoteEndpoint.Basicjava.io.IOExceptionpublic void sendText(java.lang.String partialMessage,
boolean isLast)
throws java.io.IOException
sendText in interface RemoteEndpoint.Basicjava.io.IOExceptionCopyright © 1995–2018 Webtide. All rights reserved.