org.eclipse.jetty.websocket
接口 WebSocket.OnControl

所有超级接口:
WebSocket
正在封闭接口:
WebSocket

public static interface WebSocket.OnControl
extends WebSocket

A nested WebSocket interface for receiving control messages


嵌套类摘要
 
从接口 org.eclipse.jetty.websocket.WebSocket 继承的嵌套类/接口
WebSocket.Connection, WebSocket.FrameConnection, WebSocket.OnBinaryMessage, WebSocket.OnControl, WebSocket.OnFrame, WebSocket.OnTextMessage
 
方法摘要
 boolean onControl(byte controlCode, byte[] data, int offset, int length)
          Called when a control message has been received.
 
从接口 org.eclipse.jetty.websocket.WebSocket 继承的方法
onClose, onOpen
 

方法详细信息

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.