|Constructor and Description|
|Modifier and Type||Method and Description|
Process the incoming frame.
A frame, and optional callback, intended for the network layer.
dump, dump, dumpWithHeading, getBufferPool, getConfig, getConnection, getNextIncoming, getNextOutgoing, getPolicy, incomingError, init, init, isRsv1User, isRsv2User, isRsv3User, nextIncomingError, nextIncomingFrame, nextOutgoingFrame, setBufferPool, setConnection, setNextIncomingFrames, setNextOutgoingFrames, setPolicy, toString
addLifeCycleListener, doStart, doStop, getState, getState, getStopTimeout, isFailed, isRunning, isStarted, isStarting, isStopped, isStopping, removeLifeCycleListener, setStopTimeout, start, stop
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
public String getName()
Sec-WebSocket-Extensionsname for this extension.
Also known as the
extension-token per Section 9.1. Negotiating Extensions.
public void incomingFrame(Frame frame)
Note: if you need to hang onto any information from the frame, be sure to copy it, as the information contained in the Frame will be released and/or reused by the implementation.
frame- the frame to process
public void outgoingFrame(Frame frame, WriteCallback callback, BatchMode batchMode)
Note: the frame can undergo many transformations in the various layers and extensions present in the implementation.
If you are implementing a mutation, you are obliged to handle the incoming WriteCallback appropriately.
frame- 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–2017 Webtide. All rights reserved.