| Package | Description |
|---|---|
| org.jwebsocket.api |
Provides the interfaces for the jWebSocket engines, their connectors,
the servers and the data packets.
|
| org.jwebsocket.kit |
Provides the implementations for raw data packets, the initial
WebSocket request header and the WebSocket excpetion class.
|
| Modifier and Type | Method and Description |
|---|---|
WebSocketFrameType |
WebSocketPacket.getFrameType() |
| Modifier and Type | Method and Description |
|---|---|
void |
WebSocketPacket.setFrameType(WebSocketFrameType aFrameType) |
| Modifier and Type | Method and Description |
|---|---|
static WebSocketFrameType |
WebSocketProtocolAbstraction.encodingToFrameType(WebSocketEncoding aEncoding) |
WebSocketFrameType |
RawPacket.getFrameType() |
static WebSocketFrameType |
WebSocketProtocolAbstraction.opcodeToFrameType(int aVersion,
int aOpcode)
converts a WebSocket protocol opcode to an abstract jWebSocket frame type
|
static WebSocketFrameType |
WebSocketFrameType.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static WebSocketFrameType[] |
WebSocketFrameType.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
| Modifier and Type | Method and Description |
|---|---|
static int |
WebSocketProtocolAbstraction.frameTypeToOpcode(int aVersion,
WebSocketFrameType aFrameType) |
void |
RawPacket.setFrameType(WebSocketFrameType aFrameType) |
| Constructor and Description |
|---|
RawPacket(WebSocketFrameType aFrameType,
byte[] aByteArray)
Instantiates a new data packet and initializes its value to the passed
array of bytes.
|
RawPacket(WebSocketFrameType aFrameType,
String aString)
Instantiates a new data packet and initializes its value to the passed
string using the default encoding.
|
Copyright © 2013. All Rights Reserved.