public class Socket.PhoenixWSListener
extends java.lang.Object
implements okhttp3.ws.WebSocketListener
| Constructor and Description |
|---|
PhoenixWSListener() |
| Modifier and Type | Method and Description |
|---|---|
void |
onClose(int code,
java.lang.String reason) |
void |
onFailure(java.io.IOException e,
okhttp3.Response response) |
void |
onMessage(okhttp3.ResponseBody payload) |
void |
onOpen(okhttp3.ws.WebSocket webSocket,
okhttp3.Response response) |
void |
onPong(okio.Buffer payload) |
public void onClose(int code,
java.lang.String reason)
onClose in interface okhttp3.ws.WebSocketListenerpublic void onFailure(java.io.IOException e,
okhttp3.Response response)
onFailure in interface okhttp3.ws.WebSocketListenerpublic void onMessage(okhttp3.ResponseBody payload)
throws java.io.IOException
onMessage in interface okhttp3.ws.WebSocketListenerjava.io.IOExceptionpublic void onOpen(okhttp3.ws.WebSocket webSocket,
okhttp3.Response response)
onOpen in interface okhttp3.ws.WebSocketListenerpublic void onPong(okio.Buffer payload)
onPong in interface okhttp3.ws.WebSocketListener