-
- All Known Implementing Classes:
AbstractWebSocket
,WarpWebSocket
public interface WebSocket<I,O>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
didBecome(IpSocket socket)
void
didConnect()
void
didDisconnect()
void
didFail(Throwable error)
void
didRead(WsFrame<? extends I> frame)
void
didSecure()
void
didTimeout()
void
didUpgrade(HttpRequest<?> httpRequest, HttpResponse<?> httpResponse)
void
didWrite(WsFrame<? extends O> frame)
void
doRead()
void
doWrite()
long
idleTimeout()
void
setWebSocketContext(WebSocketContext<I,O> context)
WebSocketContext<I,O>
webSocketContext()
void
willBecome(IpSocket socket)
void
willConnect()
void
willSecure()
-
-
-
Method Detail
-
webSocketContext
WebSocketContext<I,O> webSocketContext()
-
setWebSocketContext
void setWebSocketContext(WebSocketContext<I,O> context)
-
idleTimeout
long idleTimeout()
-
doRead
void doRead()
-
doWrite
void doWrite()
-
didUpgrade
void didUpgrade(HttpRequest<?> httpRequest, HttpResponse<?> httpResponse)
-
willConnect
void willConnect()
-
didConnect
void didConnect()
-
willSecure
void willSecure()
-
didSecure
void didSecure()
-
willBecome
void willBecome(IpSocket socket)
-
didBecome
void didBecome(IpSocket socket)
-
didTimeout
void didTimeout()
-
didDisconnect
void didDisconnect()
-
didFail
void didFail(Throwable error)
-
-