public class WebSocketServerConnection extends AbstractWebSocketConnection implements Connection.UpgradeTo
AbstractWebSocketConnection.OnCloseLocalCallback, AbstractWebSocketConnection.OnDisconnectCallback, AbstractWebSocketConnection.StatsAbstractConnection.FillingInterestedCallback, AbstractConnection.NestedState, AbstractConnection.StateConnection.Listener, Connection.UpgradeFrom, Connection.UpgradeToEXECUTE_ONFILLABLE, FILL_INTERESTED, FILLING, FILLING_FILL_INTERESTED, IDLE, REFILLING| Constructor and Description |
|---|
WebSocketServerConnection(EndPoint endp,
Executor executor,
Scheduler scheduler,
WebSocketPolicy policy,
ByteBufferPool bufferPool) |
| Modifier and Type | Method and Description |
|---|---|
InetSocketAddress |
getLocalAddress() |
InetSocketAddress |
getRemoteAddress() |
void |
onOpen() |
void |
onUpgradeTo(ByteBuffer prefilled) |
void |
setNextIncomingFrames(IncomingFrames incoming) |
close, close, disconnect, dump, dump, execute, fillInterested, getBufferPool, getExecutor, getExtensions, getGenerator, getIdleTimeout, getIOState, getMaxIdleTimeout, getParser, getPolicy, getScheduler, getSession, getStats, isOpen, isReading, onClose, onConnectionStateChange, onFillable, onFillInterestedFailed, onReadTimeout, outgoingFrame, prefill, resume, setExtensions, setInputBufferSize, setMaxIdleTimeout, setSession, suspend, toStringaddListener, failedCallback, fillInterested, getBytesIn, getBytesOut, getCreatedTimeStamp, getEndPoint, getInputBufferSize, getMessagesIn, getMessagesOut, nextclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitaddListener, close, getBytesIn, getBytesOut, getCreatedTimeStamp, getEndPoint, getMessagesIn, getMessagesOut, onClosepublic WebSocketServerConnection(EndPoint endp, Executor executor, Scheduler scheduler, WebSocketPolicy policy, ByteBufferPool bufferPool)
public InetSocketAddress getLocalAddress()
getLocalAddress in interface LogicalConnectionpublic InetSocketAddress getRemoteAddress()
getRemoteAddress in interface LogicalConnectiongetRemoteAddress in class AbstractWebSocketConnectionpublic void onUpgradeTo(ByteBuffer prefilled)
onUpgradeTo in interface Connection.UpgradeTopublic void onOpen()
onOpen in interface ConnectiononOpen in class AbstractWebSocketConnectionpublic void setNextIncomingFrames(IncomingFrames incoming)
setNextIncomingFrames in interface LogicalConnectionCopyright © 1995-2015 Webtide. All Rights Reserved.