public interface WebSocketCallback
Modifier and Type | Method and Description |
---|---|
void |
onClose(WebSocket ws)
Method called when WebSocket connection is closed
|
void |
onError(WebSocket ws)
Method called when WebSocket receives error
|
void |
onMessage(WebSocket ws,
String message)
Method called when WebSocket receives message
|
void |
onOpen(WebSocket ws)
Method called when WebSocket opens connection
|
void onClose(WebSocket ws)
void onError(WebSocket ws)
void onMessage(WebSocket ws, String message)
void onOpen(WebSocket ws)
Copyright © 2006–2016 Tigase. All rights reserved.