OutgoingFrames, SuspendToken, LogicalConnectionpublic class WebSocketClientConnection extends AbstractWebSocketConnection
AbstractWebSocketConnection.Stats| Constructor | Description |
|---|---|
WebSocketClientConnection(org.eclipse.jetty.io.EndPoint endp,
java.util.concurrent.Executor executor,
org.eclipse.jetty.util.thread.Scheduler scheduler,
WebSocketPolicy websocketPolicy,
org.eclipse.jetty.io.ByteBufferPool bufferPool) |
| Modifier and Type | Method | Description |
|---|---|---|
void |
outgoingFrame(Frame frame,
WriteCallback callback,
BatchMode batchMode) |
Override to set the masker.
|
addListener, failedCallback, getCreatedTimeStamp, getEndPoint, getInputBufferSize, isFillInterested, onClose, onOpen, removeListener, toString, tryFillInterested, tryFillInterestedcanReadWebSocketFrames, 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, onFillInterestedFailed, onIdleExpired, onReadTimeout, onUpgradeTo, opened, opening, remoteClose, resume, setExtensions, setInitialBuffer, setInputBufferSize, setMaxIdleTimeout, setNextIncomingFrames, setSession, suspend, toConnectionString, toStateStringpublic WebSocketClientConnection(org.eclipse.jetty.io.EndPoint endp,
java.util.concurrent.Executor executor,
org.eclipse.jetty.util.thread.Scheduler scheduler,
WebSocketPolicy websocketPolicy,
org.eclipse.jetty.io.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 © 1995–2019 Webtide. All rights reserved.