javax.websocket.RemoteEndpoint, javax.websocket.RemoteEndpoint.Basicpublic class JsrBasicRemote extends AbstractJsrRemote implements javax.websocket.RemoteEndpoint.Basic
encoders, 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, setBatchingAllowedprotected JsrBasicRemote(JsrSession session)
public java.io.OutputStream getSendStream()
throws java.io.IOException
getSendStream in interface javax.websocket.RemoteEndpoint.Basicjava.io.IOExceptionpublic java.io.Writer getSendWriter()
throws java.io.IOException
getSendWriter in interface javax.websocket.RemoteEndpoint.Basicjava.io.IOExceptionpublic void sendBinary(java.nio.ByteBuffer data)
throws java.io.IOException
sendBinary in interface javax.websocket.RemoteEndpoint.Basicjava.io.IOExceptionpublic void sendBinary(java.nio.ByteBuffer partialByte,
boolean isLast)
throws java.io.IOException
sendBinary in interface javax.websocket.RemoteEndpoint.Basicjava.io.IOExceptionpublic void sendObject(java.lang.Object data)
throws java.io.IOException,
javax.websocket.EncodeException
sendObject in interface javax.websocket.RemoteEndpoint.Basicjava.io.IOExceptionjavax.websocket.EncodeExceptionpublic void sendText(java.lang.String text)
throws java.io.IOException
sendText in interface javax.websocket.RemoteEndpoint.Basicjava.io.IOExceptionpublic void sendText(java.lang.String partialMessage,
boolean isLast)
throws java.io.IOException
sendText in interface javax.websocket.RemoteEndpoint.Basicjava.io.IOExceptionCopyright © 1995–2018 Webtide. All rights reserved.