public interface WebSocket
Modifier and Type | Method and Description |
---|---|
void |
didClose()
Method to be called on the WebSocket when its channel is closed.
|
void |
didUpgrade()
Called after returning the upgrade response to the client
|
void |
receiveFrame(org.jboss.netty.handler.codec.http.websocketx.WebSocketFrame frame)
Handles WebSocketFrames received by this socket's channel
|
void |
sendFrame(org.jboss.netty.handler.codec.http.websocketx.WebSocketFrame frame)
Method used to write WebSocketFrames to this socket's channel
|
void didClose()
void didUpgrade()
void receiveFrame(org.jboss.netty.handler.codec.http.websocketx.WebSocketFrame frame)
frame
- the WebSocketFrame receivedvoid sendFrame(org.jboss.netty.handler.codec.http.websocketx.WebSocketFrame frame)
frame
- The message to sendCopyright © 2002 – 2024 Project Wonder.