Package ratpack.websocket
Interface WebSocketHandler<T>
-
- All Known Implementing Classes:
AutoCloseWebSocketHandler
public interface WebSocketHandler<T>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidonClose(WebSocketClose<T> close)voidonMessage(WebSocketMessage<T> frame)TonOpen(WebSocket webSocket)
-
-
-
Method Detail
-
onClose
void onClose(WebSocketClose<T> close) throws java.lang.Exception
- Throws:
java.lang.Exception
-
onMessage
void onMessage(WebSocketMessage<T> frame) throws java.lang.Exception
- Throws:
java.lang.Exception
-
-