Class PingWebSocketFrame
java.lang.Object
org.jboss.netty.handler.codec.http.websocketx.WebSocketFrame
org.jboss.netty.handler.codec.http.websocketx.PingWebSocketFrame
Web Socket frame containing binary data
-
Constructor Summary
ConstructorsConstructorDescriptionCreates a new empty ping frame.PingWebSocketFrame(boolean finalFragment, int rsv, ChannelBuffer binaryData) Creates a new ping frame with the specified binary dataPingWebSocketFrame(ChannelBuffer binaryData) Creates a new ping frame with the specified binary data. -
Method Summary
Methods inherited from class org.jboss.netty.handler.codec.http.websocketx.WebSocketFrame
getBinaryData, getRsv, isFinalFragment, setBinaryData, setFinalFragment, setRsv
-
Constructor Details
-
PingWebSocketFrame
public PingWebSocketFrame()Creates a new empty ping frame. -
PingWebSocketFrame
Creates a new ping frame with the specified binary data.- Parameters:
binaryData- the content of the frame.
-
PingWebSocketFrame
Creates a new ping frame with the specified binary data- Parameters:
finalFragment- flag indicating if this frame is the final fragmentrsv- reserved bits used for protocol extensionsbinaryData- the content of the frame.
-
-
Method Details