|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface IWebSocketProcessor
Processes web socket messages.
| Method Summary | |
|---|---|
void |
onClose(int closeCode,
String message)
A notification after the close of the web socket connection. |
void |
onMessage(byte[] data,
int offset,
int length)
Called when a binary message arrives from the client |
void |
onMessage(String message)
Called when a text message arrives from the client |
void |
onOpen(Object containerConnection)
A client successfully has made a web socket connection. |
| Method Detail |
|---|
void onMessage(String message)
message - the text message from the client
void onMessage(byte[] data,
int offset,
int length)
data - the binary message from the clientoffset - the offset to read fromlength - how much data to readvoid onOpen(Object containerConnection)
containerConnection - the web socket connection to use to communicate with the client
void onClose(int closeCode,
String message)
closeCode - message -
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||