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 Modifier Constructor Description protectedAhcWebSocketListener()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidonBinaryFrame(byte[] payload, boolean finalFragment, int rsv)voidonClose(org.asynchttpclient.ws.WebSocket ws, int code, String reason)voidonError(Throwable t)voidonOpen(org.asynchttpclient.ws.WebSocket ws)voidonTextFrame(String payload, boolean finalFragment, int rsv)
-
-
-
Method Detail
-
onOpen
public void onOpen(org.asynchttpclient.ws.WebSocket ws)
- Specified by:
onOpenin interfaceorg.asynchttpclient.ws.WebSocketListener
-
onClose
public void onClose(org.asynchttpclient.ws.WebSocket ws, int code, String reason)- Specified by:
onClosein interfaceorg.asynchttpclient.ws.WebSocketListener
-
onError
public void onError(Throwable t)
- 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
public void onTextFrame(String payload, boolean finalFragment, int rsv)
- Specified by:
onTextFramein interfaceorg.asynchttpclient.ws.WebSocketListener
-
-