Class AhcWebSocketConduit.AhcWebSocketListener
java.lang.Object
org.apache.cxf.transport.websocket.ahc.AhcWebSocketConduit.AhcWebSocketListener
- All Implemented Interfaces:
org.asynchttpclient.ws.WebSocketListener
- Enclosing class:
- AhcWebSocketConduit
protected class AhcWebSocketConduit.AhcWebSocketListener
extends Object
implements org.asynchttpclient.ws.WebSocketListener
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidonBinaryFrame(byte[] payload, boolean finalFragment, int rsv) voidvoidvoidonOpen(org.asynchttpclient.ws.WebSocket ws) voidonTextFrame(String payload, boolean finalFragment, int rsv) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.asynchttpclient.ws.WebSocketListener
onPingFrame, onPongFrame
-
Constructor Details
-
AhcWebSocketListener
protected AhcWebSocketListener()
-
-
Method Details
-
onOpen
public void onOpen(org.asynchttpclient.ws.WebSocket ws) - Specified by:
onOpenin interfaceorg.asynchttpclient.ws.WebSocketListener
-
onClose
- Specified by:
onClosein interfaceorg.asynchttpclient.ws.WebSocketListener
-
onError
- Specified by:
onErrorin interfaceorg.asynchttpclient.ws.WebSocketListener
-
onBinaryFrame
public void onBinaryFrame(byte[] payload, boolean finalFragment, int rsv) - Specified by:
onBinaryFramein interfaceorg.asynchttpclient.ws.WebSocketListener
-
onTextFrame
- Specified by:
onTextFramein interfaceorg.asynchttpclient.ws.WebSocketListener
-