org.eclipse.jetty.websocket
接口 WebSocket.OnControl
- 所有超级接口:
- WebSocket
- 正在封闭接口:
- WebSocket
public static interface WebSocket.OnControl
- extends WebSocket
A nested WebSocket interface for receiving control messages
|
方法摘要 |
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.
- 参数:
controlCode - data - offset - length -
- 返回:
- true if this call has completely handled the control message and no further processing is needed.
Copyright © 2013. All Rights Reserved.