public class WebSocketClientConnection extends AbstractWebSocketConnection
AbstractWebSocketConnection.OnCloseLocalCallback, AbstractWebSocketConnection.OnDisconnectCallback, AbstractWebSocketConnection.StatsConnection.Listener, Connection.UpgradeFrom, Connection.UpgradeTo| Constructor and Description |
|---|
WebSocketClientConnection(EndPoint endp,
Executor executor,
Scheduler scheduler,
WebSocketPolicy websocketPolicy,
ByteBufferPool bufferPool) |
| Modifier and Type | Method and Description |
|---|---|
InetSocketAddress |
getLocalAddress() |
InetSocketAddress |
getRemoteAddress() |
void |
outgoingFrame(Frame frame,
WriteCallback callback,
BatchMode batchMode)
Override to set the masker.
|
void |
setNextIncomingFrames(IncomingFrames incoming) |
close, close, disconnect, dump, dump, equals, execute, fillInterested, getBufferPool, getExecutor, getExtensions, getGenerator, getId, getIdleTimeout, getIOState, getMaxIdleTimeout, getParser, getPolicy, getScheduler, getStats, hashCode, isOpen, isReading, onClose, onConnectionStateChange, onFillable, onFillInterestedFailed, onOpen, onReadTimeout, onUpgradeTo, resume, setExtensions, setInitialBuffer, setInputBufferSize, setMaxIdleTimeout, suspend, toConnectionStringaddListener, failedCallback, getBytesIn, getBytesOut, getCreatedTimeStamp, getEndPoint, getInputBufferSize, getMessagesIn, getMessagesOut, isFillInterested, onIdleExpired, removeListener, toString, tryFillInterested, tryFillInterestedpublic WebSocketClientConnection(EndPoint endp, Executor executor, Scheduler scheduler, WebSocketPolicy websocketPolicy, ByteBufferPool bufferPool)
public InetSocketAddress getLocalAddress()
public InetSocketAddress getRemoteAddress()
getRemoteAddress in interface LogicalConnectiongetRemoteAddress in class AbstractWebSocketConnectionpublic void outgoingFrame(Frame frame, WriteCallback callback, BatchMode batchMode)
outgoingFrame in interface OutgoingFramesoutgoingFrame in class AbstractWebSocketConnectionpublic void setNextIncomingFrames(IncomingFrames incoming)
Copyright © 1995–2017 Webtide. All rights reserved.