- All Known Implementing Classes:
AbstractWebSocket
,WarpWebSocket
public interface WebSocket<I,O>
-
Method Summary
Modifier and TypeMethodDescriptionvoid
void
void
void
void
void
void
void
didUpgrade
(HttpRequest<?> httpRequest, HttpResponse<?> httpResponse) void
void
doRead()
void
doWrite()
long
void
setWebSocketContext
(WebSocketContext<I, O> context) void
willBecome
(IpSocket socket) void
void
-
Method Details
-
webSocketContext
WebSocketContext<I,O> webSocketContext() -
setWebSocketContext
-
idleTimeout
long idleTimeout() -
doRead
void doRead() -
didRead
-
doWrite
void doWrite() -
didWrite
-
didUpgrade
-
willConnect
void willConnect() -
didConnect
void didConnect() -
willSecure
void willSecure() -
didSecure
void didSecure() -
willBecome
-
didBecome
-
didTimeout
void didTimeout() -
didDisconnect
void didDisconnect() -
didFail
-