Uses of Interface
org.java_websocket.framing.Framedata
-
Packages that use Framedata Package Description org.java_websocket org.java_websocket.client This package encapsulates all implementations in relation with the WebSocketClient.org.java_websocket.drafts This package encapsulates all implementations in relation with the WebSocket drafts.org.java_websocket.extensions This package encapsulates all interfaces and implementations in relation with the WebSocket Sec-WebSocket-Extensions.org.java_websocket.extensions.permessage_deflate org.java_websocket.framing This package encapsulates all interfaces and implementations in relation with the WebSocket frames.org.java_websocket.server This package encapsulates all implementations in relation with the WebSocketServer. -
-
Uses of Framedata in org.java_websocket
Methods in org.java_websocket with parameters of type Framedata Modifier and Type Method Description void
WebSocketAdapter. onWebsocketPing(WebSocket conn, Framedata f)
This default implementation will send a pong in response to the received ping.void
WebSocketListener. onWebsocketPing(WebSocket conn, Framedata f)
Called a ping frame has been received.void
WebSocketAdapter. onWebsocketPong(WebSocket conn, Framedata f)
This default implementation does not do anything.void
WebSocketListener. onWebsocketPong(WebSocket conn, Framedata f)
Called when a pong frame is received.void
WebSocket. sendFrame(Framedata framedata)
Send a frame to the other endvoid
WebSocketImpl. sendFrame(Framedata framedata)
Method parameters in org.java_websocket with type arguments of type Framedata Modifier and Type Method Description private void
WebSocketImpl. send(java.util.Collection<Framedata> frames)
void
WebSocket. sendFrame(java.util.Collection<Framedata> frames)
Send a collection of frames to the other endvoid
WebSocketImpl. sendFrame(java.util.Collection<Framedata> frames)
-
Uses of Framedata in org.java_websocket.client
Methods in org.java_websocket.client with parameters of type Framedata Modifier and Type Method Description void
WebSocketClient. sendFrame(Framedata framedata)
Method parameters in org.java_websocket.client with type arguments of type Framedata Modifier and Type Method Description void
WebSocketClient. sendFrame(java.util.Collection<Framedata> frames)
-
Uses of Framedata in org.java_websocket.drafts
Fields in org.java_websocket.drafts declared as Framedata Modifier and Type Field Description private Framedata
Draft_6455. currentContinuousFrame
Attribute for the current continuous frameMethods in org.java_websocket.drafts that return Framedata Modifier and Type Method Description private Framedata
Draft_6455. translateSingleFrame(java.nio.ByteBuffer buffer)
Methods in org.java_websocket.drafts that return types with arguments of type Framedata Modifier and Type Method Description java.util.List<Framedata>
Draft. continuousFrame(Opcode op, java.nio.ByteBuffer buffer, boolean fin)
java.util.List<Framedata>
Draft_6455. createFrames(java.lang.String text, boolean mask)
java.util.List<Framedata>
Draft_6455. createFrames(java.nio.ByteBuffer binary, boolean mask)
abstract java.util.List<Framedata>
Draft. createFrames(java.lang.String text, boolean mask)
abstract java.util.List<Framedata>
Draft. createFrames(java.nio.ByteBuffer binary, boolean mask)
java.util.List<Framedata>
Draft_6455. translateFrame(java.nio.ByteBuffer buffer)
abstract java.util.List<Framedata>
Draft. translateFrame(java.nio.ByteBuffer buffer)
Methods in org.java_websocket.drafts with parameters of type Framedata Modifier and Type Method Description java.nio.ByteBuffer
Draft_6455. createBinaryFrame(Framedata framedata)
abstract java.nio.ByteBuffer
Draft. createBinaryFrame(Framedata framedata)
private java.nio.ByteBuffer
Draft_6455. createByteBufferFromFramedata(Framedata framedata)
void
Draft_6455. processFrame(WebSocketImpl webSocketImpl, Framedata frame)
abstract void
Draft. processFrame(WebSocketImpl webSocketImpl, Framedata frame)
Handle the frame specific to the draftprivate void
Draft_6455. processFrameBinary(WebSocketImpl webSocketImpl, Framedata frame)
Process the frame if it is a binary frameprivate void
Draft_6455. processFrameClosing(WebSocketImpl webSocketImpl, Framedata frame)
Process the frame if it is a closing frameprivate void
Draft_6455. processFrameContinuousAndNonFin(WebSocketImpl webSocketImpl, Framedata frame, Opcode curop)
Process the frame if it is a continuous frame or the fin bit is not setprivate void
Draft_6455. processFrameIsFin(WebSocketImpl webSocketImpl, Framedata frame)
Process the frame if it is the last frameprivate void
Draft_6455. processFrameIsNotFin(Framedata frame)
Process the frame if it is not the last frameprivate void
Draft_6455. processFrameText(WebSocketImpl webSocketImpl, Framedata frame)
Process the frame if it is a text frame -
Uses of Framedata in org.java_websocket.extensions
Methods in org.java_websocket.extensions with parameters of type Framedata Modifier and Type Method Description void
DefaultExtension. decodeFrame(Framedata inputFrame)
void
IExtension. decodeFrame(Framedata inputFrame)
Decode a frame with a extension specific algorithm.void
DefaultExtension. encodeFrame(Framedata inputFrame)
void
IExtension. encodeFrame(Framedata inputFrame)
Encode a frame with a extension specific algorithm.void
CompressionExtension. isFrameValid(Framedata inputFrame)
void
DefaultExtension. isFrameValid(Framedata inputFrame)
void
IExtension. isFrameValid(Framedata inputFrame)
Check if the received frame is correctly implemented by the other endpoint and there are no specification errors (like wrongly set RSV) -
Uses of Framedata in org.java_websocket.extensions.permessage_deflate
Methods in org.java_websocket.extensions.permessage_deflate with parameters of type Framedata Modifier and Type Method Description void
PerMessageDeflateExtension. decodeFrame(Framedata inputFrame)
void
PerMessageDeflateExtension. encodeFrame(Framedata inputFrame)
void
PerMessageDeflateExtension. isFrameValid(Framedata inputFrame)
This extension requires the RSV1 bit to be set only for the first frame. -
Uses of Framedata in org.java_websocket.framing
Classes in org.java_websocket.framing that implement Framedata Modifier and Type Class Description class
BinaryFrame
Class to represent a binary frameclass
CloseFrame
Class to represent a close frameclass
ContinuousFrame
Class to represent a continuous frameclass
ControlFrame
Abstract class to represent control framesclass
DataFrame
Abstract class to represent data framesclass
FramedataImpl1
Abstract implementation of a frameclass
PingFrame
Class to represent a ping frameclass
PongFrame
Class to represent a pong frameclass
TextFrame
Class to represent a text framesMethods in org.java_websocket.framing with parameters of type Framedata Modifier and Type Method Description void
Framedata. append(Framedata nextframe)
Appends an additional frame to the current framevoid
FramedataImpl1. append(Framedata nextframe)
-
Uses of Framedata in org.java_websocket.server
Method parameters in org.java_websocket.server with type arguments of type Framedata Modifier and Type Method Description private void
WebSocketServer. fillFrames(Draft draft, java.util.Map<Draft,java.util.List<Framedata>> draftFrames, java.lang.String strData, java.nio.ByteBuffer byteData)
Fills the draftFrames with new data for the broadcast
-