protected class AhcWebSocketConduit.AhcWebSocketListener extends Object implements org.asynchttpclient.ws.WebSocketListener
| Modifier | Constructor and Description |
|---|---|
protected |
AhcWebSocketListener() |
| Modifier and Type | Method and Description |
|---|---|
void |
onBinaryFrame(byte[] payload,
boolean finalFragment,
int rsv) |
void |
onClose(org.asynchttpclient.ws.WebSocket ws,
int code,
String reason) |
void |
onError(Throwable t) |
void |
onOpen(org.asynchttpclient.ws.WebSocket ws) |
void |
onTextFrame(String payload,
boolean finalFragment,
int rsv) |
public void onOpen(org.asynchttpclient.ws.WebSocket ws)
onOpen in interface org.asynchttpclient.ws.WebSocketListenerpublic void onClose(org.asynchttpclient.ws.WebSocket ws,
int code,
String reason)
onClose in interface org.asynchttpclient.ws.WebSocketListenerpublic void onError(Throwable t)
onError in interface org.asynchttpclient.ws.WebSocketListenerpublic void onBinaryFrame(byte[] payload,
boolean finalFragment,
int rsv)
onBinaryFrame in interface org.asynchttpclient.ws.WebSocketListenerpublic void onTextFrame(String payload, boolean finalFragment, int rsv)
onTextFrame in interface org.asynchttpclient.ws.WebSocketListenerApache CXF