Interface IWebSocketListener
-
public interface IWebSocketListener
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description voidhandle(IWebSocketChannel channel, WebSocketFrameType type, byte[] bytes)default voidhandleClose(IWebSocketChannel channel, java.util.concurrent.atomic.AtomicInteger statusCode, java.util.concurrent.atomic.AtomicReference<java.lang.String> reasonText)
-
-
-
Method Detail
-
handle
void handle(IWebSocketChannel channel, WebSocketFrameType type, byte[] bytes) throws java.lang.Exception
- Throws:
java.lang.Exception
-
handleClose
default void handleClose(IWebSocketChannel channel, java.util.concurrent.atomic.AtomicInteger statusCode, java.util.concurrent.atomic.AtomicReference<java.lang.String> reasonText)
-
-