protected static class UndertowWebsocketServerConnector.UTWebObjectSocket extends WebObjectSocket
| Modifier and Type | Field and Description |
|---|---|
protected io.undertow.websockets.core.WebSocketChannel |
channel |
protected io.undertow.websockets.spi.WebSocketHttpExchange |
ex |
protected boolean |
sendStrings |
protected WeakReference<org.nustaq.kontraktor.remoting.base.ObjectSink> |
sink |
conf, isClosed, lastError, objects, sendSequence| Constructor and Description |
|---|
UTWebObjectSocket(io.undertow.websockets.spi.WebSocketHttpExchange ex,
io.undertow.websockets.core.WebSocketChannel channel,
boolean sendStrings) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
int |
getId() |
org.nustaq.kontraktor.remoting.base.ObjectSink |
getSink() |
void |
sendBinary(byte[] message) |
void |
setSink(org.nustaq.kontraktor.remoting.base.ObjectSink sink) |
flush, getConf, getLastError, getObjectMaxBatchSize, getSendSequence, isClosed, setConf, setLastError, writeObjectprotected final boolean sendStrings
protected io.undertow.websockets.core.WebSocketChannel channel
protected io.undertow.websockets.spi.WebSocketHttpExchange ex
protected WeakReference<org.nustaq.kontraktor.remoting.base.ObjectSink> sink
public UTWebObjectSocket(io.undertow.websockets.spi.WebSocketHttpExchange ex,
io.undertow.websockets.core.WebSocketChannel channel,
boolean sendStrings)
public void sendBinary(byte[] message)
sendBinary in class WebObjectSocketpublic void close()
throws IOException
IOExceptionpublic int getId()
public void setSink(org.nustaq.kontraktor.remoting.base.ObjectSink sink)
public org.nustaq.kontraktor.remoting.base.ObjectSink getSink()
Copyright © 2015. All rights reserved.