public class WebSocketClientConnection extends AbstractWebSocketConnection
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 |
|---|---|
void |
outgoingFrame(Frame frame,
WriteCallback callback,
BatchMode batchMode)
Override to set the masker.
|
canReadWebSocketFrames, canWriteWebSocketFrames, close, close, close, disconnect, dump, dumpSelf, fillInterested, getBufferPool, getBytesIn, getBytesOut, getExecutor, getExtensions, getGenerator, getId, getIdleTimeout, getLocalAddress, getMaxIdleTimeout, getMessagesIn, getMessagesOut, getParser, getPolicy, getRemoteAddress, getScheduler, getStats, isOpen, isReading, onFillable, onIdleExpired, onUpgradeTo, opened, opening, remoteClose, resume, setExtensions, setInputBufferSize, setMaxIdleTimeout, setNextIncomingFrames, setSession, suspend, toConnectionString, toStateStringaddListener, getCreatedTimeStamp, getEndPoint, getInputBufferSize, isFillInterested, onClose, onOpen, removeListener, toString, tryFillInterested, tryFillInterestedequals, getClass, hashCode, notify, notifyAll, wait, wait, waitdump, dump, dumpContainer, dumpIterable, dumpMapEntries, dumpObject, dumpObjects, namedpublic WebSocketClientConnection(EndPoint endp, Executor executor, Scheduler scheduler, WebSocketPolicy websocketPolicy, ByteBufferPool bufferPool)
public void outgoingFrame(Frame frame, WriteCallback callback, BatchMode batchMode)
outgoingFrame in interface OutgoingFramesoutgoingFrame in class AbstractWebSocketConnectionframe - the frame to eventually write to the network layer.callback - the callback to notify when the frame is written.batchMode - the batch mode requested by the sender.Copyright © 2010 - 2020 Adobe. All Rights Reserved