|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public static interface WebSocket.OnFrame
A nested WebSocket interface for receiving any websocket frame
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from interface org.eclipse.jetty.websocket.WebSocket |
|---|
WebSocket.Connection, WebSocket.FrameConnection, WebSocket.OnBinaryMessage, WebSocket.OnControl, WebSocket.OnFrame, WebSocket.OnTextMessage, WebSocket.Outbound |
| Field Summary |
|---|
| Fields inherited from interface org.eclipse.jetty.websocket.WebSocket |
|---|
LENGTH_FRAME, SENTINEL_FRAME |
| Method Summary | |
|---|---|
boolean |
onFrame(byte flags,
byte opcode,
byte[] data,
int offset,
int length)
Called when any websocket frame is received. |
void |
onHandshake(WebSocket.FrameConnection connection)
|
| Methods inherited from interface org.eclipse.jetty.websocket.WebSocket |
|---|
onClose, onConnect, onDisconnect, onFragment, onMessage, onMessage, onOpen |
| Method Detail |
|---|
boolean onFrame(byte flags,
byte opcode,
byte[] data,
int offset,
int length)
flags - opcode - data - offset - length -
void onHandshake(WebSocket.FrameConnection connection)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||