|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface WebSocketHandler<W extends WebSocket>
Base WebSocket events handler.
WebSocketClientHandler,
WebSocketApplication| Method Summary | |
|---|---|
void |
onClose(W websocket)
Method is called, when WebSocket gets closed. |
void |
onMessage(W websocket,
Frame frame)
Method is called, when WebSocket receives a Frame. |
| Method Detail |
|---|
void onClose(W websocket)
throws IOException
WebSocket gets closed.
websocket - WebSocket
IOException
void onMessage(W websocket,
Frame frame)
throws IOException
WebSocket receives a Frame.
websocket - WebSocketframe - Frame
IOException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||