org.eclipse.jetty.websocket
Interface WebSocket
public interface WebSocket
LENGTH_FRAME
@Deprecated
static final byte LENGTH_FRAME
- Deprecated.
- See Also:
- Constant Field Values
SENTINEL_FRAME
@Deprecated
static final byte SENTINEL_FRAME
- Deprecated.
- See Also:
- Constant Field Values
OP_CONTINUATION
static final byte OP_CONTINUATION
- See Also:
- Constant Field Values
OP_CLOSE
static final byte OP_CLOSE
- See Also:
- Constant Field Values
OP_PING
static final byte OP_PING
- See Also:
- Constant Field Values
OP_PONG
static final byte OP_PONG
- See Also:
- Constant Field Values
OP_TEXT
static final byte OP_TEXT
- See Also:
- Constant Field Values
OP_BINARY
static final byte OP_BINARY
- See Also:
- Constant Field Values
CLOSE_NORMAL
static final int CLOSE_NORMAL
- See Also:
- Constant Field Values
CLOSE_SHUTDOWN
static final int CLOSE_SHUTDOWN
- See Also:
- Constant Field Values
CLOSE_PROTOCOL
static final int CLOSE_PROTOCOL
- See Also:
- Constant Field Values
CLOSE_DATA
static final int CLOSE_DATA
- See Also:
- Constant Field Values
CLOSE_LARGE
static final int CLOSE_LARGE
- See Also:
- Constant Field Values
onConnect
void onConnect(WebSocket.Outbound outbound)
onMessage
void onMessage(byte opcode,
String data)
onFragment
void onFragment(boolean more,
byte opcode,
byte[] data,
int offset,
int length)
onMessage
void onMessage(byte opcode,
byte[] data,
int offset,
int length)
onDisconnect
void onDisconnect()
Copyright © 1995-2011 Mort Bay Consulting. All Rights Reserved.