| Package | Description |
|---|---|
| org.jwebsocket.api |
Provides the interfaces for the jWebSocket engines, their connectors,
the servers and the data packets.
|
| org.jwebsocket.client.java | |
| org.jwebsocket.client.token | |
| org.jwebsocket.kit |
Provides the implementations for raw data packets, the initial
WebSocket request header and the WebSocket excpetion class.
|
| org.jwebsocket.packetProcessors |
Provides converters that convert JSON, CSV or XML formatted data packets
into Tokens and vice versa.
|
| org.jwebsocket.token |
Provides ...
|
| to.sparks.mtgox.net | |
| to.sparks.mtgox.service |
| Modifier and Type | Method and Description |
|---|---|
void |
WebSocketClient.notifyPacket(WebSocketClientEvent aEvent,
WebSocketPacket aPacket)
Notifies the jWebSocket client implementation about the packet
being received from the WebSocket client.
|
void |
WebSocketClientListener.processPacket(WebSocketClientEvent aEvent,
WebSocketPacket aPacket)
This method is invoked when a data packet from a client is received.
|
void |
WebSocketClient.send(WebSocketPacket aPacket)
Sends the websocket data packet to the WebSocket client
|
| Modifier and Type | Method and Description |
|---|---|
void |
BaseWebSocketClient.notifyPacket(WebSocketClientEvent aEvent,
WebSocketPacket aPacket)
Notifies the jWebSocket client implementation about the packet
being received from the WebSocket client.
|
void |
BaseWebSocketClient.send(WebSocketPacket aDataPacket)
Sends the websocket data packet to the WebSocket client
|
| Modifier and Type | Method and Description |
|---|---|
WebSocketPacket |
BaseTokenClient.tokenToPacket(Token aToken) |
| Modifier and Type | Method and Description |
|---|---|
Token |
BaseTokenClient.packetToToken(WebSocketPacket aPacket) |
| Modifier and Type | Class and Description |
|---|---|
class |
RawPacket
Implements the low level data packets which are interchanged between
client and server.
|
| Modifier and Type | Method and Description |
|---|---|
static WebSocketPacket |
WebSocketProtocolAbstraction.protocolToRawPacket(int aVersion,
InputStream aIS) |
| Modifier and Type | Method and Description |
|---|---|
static byte[] |
WebSocketProtocolAbstraction.rawToProtocolPacket(int aVersion,
WebSocketPacket aDataPacket)
converts an abstract data packet into a protocol specific frame according
to the correct version.
|
static List<byte[]> |
WebSocketProtocolAbstraction.toProtocolPacketFragmented(WebSocketPacket aSrc,
int aFragmentSize) |
| Modifier and Type | Method and Description |
|---|---|
static WebSocketPacket |
XMLProcessor.tokenToPacket(Token aToken)
converts a token into a XML formatted data packet.
|
WebSocketPacket |
WebSocketPacketProcessor.tokenToPacket(Token aToken) |
static WebSocketPacket |
JSONProcessor.tokenToPacket(Token aToken) |
static WebSocketPacket |
CSVProcessor.tokenToPacket(Token aToken)
converts a token into a CSV formatted data packet.
|
| Modifier and Type | Method and Description |
|---|---|
static Token |
XMLProcessor.packetToToken(WebSocketPacket aDataPacket)
converts a XML formatted data packet into a token.
|
Token |
WebSocketPacketProcessor.packetToToken(WebSocketPacket aDataPacket) |
static Token |
JSONProcessor.packetToToken(WebSocketPacket aDataPacket)
converts a JSON formatted data packet into a token.
|
static Token |
CSVProcessor.packetToToken(WebSocketPacket aDataPacket)
converts a CSV formatted data packet into a token.
|
| Modifier and Type | Method and Description |
|---|---|
static WebSocketPacket |
TokenFactory.tokenToPacket(String aFormat,
Token aToken) |
| Modifier and Type | Method and Description |
|---|---|
static Token |
TokenFactory.packetToToken(String aFormat,
WebSocketPacket aDataPacket) |
| Modifier and Type | Method and Description |
|---|---|
WebSocketPacket |
MtGoxPacket.getaPacket() |
| Constructor and Description |
|---|
MtGoxPacket(WebSocketClientEvent aEvent,
WebSocketPacket aPacket) |
| Modifier and Type | Method and Description |
|---|---|
void |
SocketListener.processPacket(WebSocketClientEvent aEvent,
WebSocketPacket aPacket) |
Copyright © 2013. All Rights Reserved.