Uses of Class
org.java_websocket.enums.Opcode
-
Packages that use Opcode 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.enums This package encapsulates all enums.org.java_websocket.framing This package encapsulates all interfaces and implementations in relation with the WebSocket frames. -
-
Uses of Opcode in org.java_websocket
Methods in org.java_websocket with parameters of type Opcode Modifier and Type Method Description void
WebSocket. sendFragmentedFrame(Opcode op, java.nio.ByteBuffer buffer, boolean fin)
Allows to send continuous/fragmented frames conveniently.void
WebSocketImpl. sendFragmentedFrame(Opcode op, java.nio.ByteBuffer buffer, boolean fin)
-
Uses of Opcode in org.java_websocket.client
Methods in org.java_websocket.client with parameters of type Opcode Modifier and Type Method Description void
WebSocketClient. sendFragmentedFrame(Opcode op, java.nio.ByteBuffer buffer, boolean fin)
-
Uses of Opcode in org.java_websocket.drafts
Fields in org.java_websocket.drafts declared as Opcode Modifier and Type Field Description protected Opcode
Draft. continuousFrameType
Methods in org.java_websocket.drafts that return Opcode Modifier and Type Method Description private Opcode
Draft_6455. toOpcode(byte opcode)
Methods in org.java_websocket.drafts with parameters of type Opcode Modifier and Type Method Description java.util.List<Framedata>
Draft. continuousFrame(Opcode op, java.nio.ByteBuffer buffer, boolean fin)
private byte
Draft_6455. fromOpcode(Opcode opcode)
private 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 Draft_6455.TranslatedPayloadMetaData
Draft_6455. translateSingleFramePayloadLength(java.nio.ByteBuffer buffer, Opcode optcode, int oldPayloadlength, int maxpacketsize, int oldRealpacketsize)
Translate the buffer depending when it has an extended payload length (126 or 127) -
Uses of Opcode in org.java_websocket.enums
Methods in org.java_websocket.enums that return Opcode Modifier and Type Method Description static Opcode
Opcode. valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static Opcode[]
Opcode. values()
Returns an array containing the constants of this enum type, in the order they are declared. -
Uses of Opcode in org.java_websocket.framing
Fields in org.java_websocket.framing declared as Opcode Modifier and Type Field Description private Opcode
FramedataImpl1. optcode
Defines the interpretation of the "Payload data".Methods in org.java_websocket.framing that return Opcode Modifier and Type Method Description Opcode
Framedata. getOpcode()
Defines the interpretation of the "Payload data".Opcode
FramedataImpl1. getOpcode()
Methods in org.java_websocket.framing with parameters of type Opcode Modifier and Type Method Description static FramedataImpl1
FramedataImpl1. get(Opcode opcode)
Get a frame with a specific opcodeConstructors in org.java_websocket.framing with parameters of type Opcode Constructor Description ControlFrame(Opcode opcode)
Class to represent a control frameDataFrame(Opcode opcode)
Class to represent a data frameFramedataImpl1(Opcode op)
Constructor for a FramedataImpl without any attributes set apart from the opcode
-