public interface SocketListener
| Modifier and Type | Method and Description |
|---|---|
void |
onClose(Connection connection,
int id,
int code,
java.lang.String message) |
void |
onConnect(Connection connection,
int id,
org.java_websocket.WebSocket socket) |
void |
onError(Connection connection,
int id,
java.lang.Exception ex) |
java.lang.Object |
onPacket(Connection connection,
int id,
java.lang.Object packet) |
void onClose(Connection connection, int id, int code, java.lang.String message)
void onConnect(Connection connection, int id, org.java_websocket.WebSocket socket)
void onError(Connection connection, int id, java.lang.Exception ex)
java.lang.Object onPacket(Connection connection, int id, java.lang.Object packet)