org.eclipse.jetty.websocket
Interface WebSocket.OnControl
- All Superinterfaces:
- WebSocket
- Enclosing interface:
- WebSocket
public static interface WebSocket.OnControl
- extends WebSocket
A nested WebSocket interface for receiving control messages
Method Summary |
boolean |
onControl(byte controlCode,
byte[] data,
int offset,
int length)
Called when a control message has been received. |
onControl
boolean onControl(byte controlCode,
byte[] data,
int offset,
int length)
- Called when a control message has been received.
- Parameters:
controlCode
- data
- offset
- length
-
- Returns:
- true if this call has completely handled the control message and no further processing is needed.
Copyright © 1995-2011 Mort Bay Consulting. All Rights Reserved.