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.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. onWebsocketMessageFragment(WebSocket conn, Framedata frame)
Deprecated.void
WebSocketListener. onWebsocketMessageFragment(WebSocket conn, Framedata frame)
Deprecated.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 void
WebSocket. sendFrame(Collection<Framedata> frames)
Send a collection of frames to the other endvoid
WebSocketImpl. sendFrame(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. onFragment(Framedata frame)
Deprecated.void
WebSocketClient. onWebsocketMessageFragment(WebSocket conn, Framedata frame)
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(Collection<Framedata> frames)
-
Uses of Framedata in org.java_websocket.drafts
Methods in org.java_websocket.drafts that return Framedata Modifier and Type Method Description Framedata
Draft_6455. translateSingleFrame(ByteBuffer buffer)
Methods in org.java_websocket.drafts that return types with arguments of type Framedata Modifier and Type Method Description List<Framedata>
Draft. continuousFrame(Framedata.Opcode op, ByteBuffer buffer, boolean fin)
List<Framedata>
Draft_6455. createFrames(String text, boolean mask)
List<Framedata>
Draft_6455. createFrames(ByteBuffer binary, boolean mask)
abstract List<Framedata>
Draft. createFrames(String text, boolean mask)
abstract List<Framedata>
Draft. createFrames(ByteBuffer binary, boolean mask)
List<Framedata>
Draft_6455. translateFrame(ByteBuffer buffer)
abstract List<Framedata>
Draft. translateFrame(ByteBuffer buffer)
Methods in org.java_websocket.drafts with parameters of type Framedata Modifier and Type Method Description ByteBuffer
Draft_6455. createBinaryFrame(Framedata framedata)
abstract ByteBuffer
Draft. createBinaryFrame(Framedata framedata)
void
Draft_6455. processFrame(WebSocketImpl webSocketImpl, Framedata frame)
abstract void
Draft. processFrame(WebSocketImpl webSocketImpl, Framedata frame)
Handle the frame specific to the draft -
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.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 frame This methods does not override the opcode, but does override the finvoid
FramedataImpl1. append(Framedata nextframe)
-
Uses of Framedata in org.java_websocket.server
Methods in org.java_websocket.server with parameters of type Framedata Modifier and Type Method Description void
WebSocketServer. onFragment(WebSocket conn, Framedata fragment)
Deprecated.void
WebSocketServer. onWebsocketMessageFragment(WebSocket conn, Framedata frame)
Deprecated.
-