public class WebSocketClientConnection extends AbstractWebSocketConnection
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 |
|---|
WebSocketClientConnection(EndPoint endp,
Executor executor,
ConnectPromise connectPromise,
WebSocketPolicy policy) |
| Modifier and Type | Method and Description |
|---|---|
InetSocketAddress |
getLocalAddress() |
InetSocketAddress |
getRemoteAddress() |
void |
onClose() |
void |
onOpen() |
void |
outgoingFrame(Frame frame,
WriteCallback callback,
BatchMode batchMode)
Override to set the masker.
|
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, onConnectionStateChange, onFillable, onFillInterestedFailed, onReadTimeout, prefill, resume, setExtensions, setInputBufferSize, setMaxIdleTimeout, setSession, suspend, toStringaddListener, failedCallback, fillInterested, getBytesIn, getBytesOut, getCreatedTimeStamp, getEndPoint, getInputBufferSize, getMessagesIn, getMessagesOut, nextpublic WebSocketClientConnection(EndPoint endp, Executor executor, ConnectPromise connectPromise, WebSocketPolicy policy)
public InetSocketAddress getLocalAddress()
public InetSocketAddress getRemoteAddress()
getRemoteAddress in interface LogicalConnectiongetRemoteAddress in class AbstractWebSocketConnectionpublic void onClose()
onClose in interface ConnectiononClose in class AbstractWebSocketConnectionpublic void onOpen()
onOpen in interface ConnectiononOpen in class AbstractWebSocketConnectionpublic void outgoingFrame(Frame frame, WriteCallback callback, BatchMode batchMode)
outgoingFrame in interface OutgoingFramesoutgoingFrame in class AbstractWebSocketConnectionpublic void setNextIncomingFrames(IncomingFrames incoming)
Copyright © 1995-2015 Webtide. All Rights Reserved.