Class PingWebSocketFrame
- java.lang.Object
-
- org.jboss.netty.handler.codec.http.websocketx.WebSocketFrame
-
- org.jboss.netty.handler.codec.http.websocketx.PingWebSocketFrame
-
public class PingWebSocketFrame extends WebSocketFrame
Web Socket frame containing binary data
-
-
Constructor Summary
Constructors Constructor Description PingWebSocketFrame()
Creates 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
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
toString()
-
Methods inherited from class org.jboss.netty.handler.codec.http.websocketx.WebSocketFrame
getBinaryData, getRsv, isFinalFragment, setBinaryData, setFinalFragment, setRsv
-
-
-
-
Constructor Detail
-
PingWebSocketFrame
public PingWebSocketFrame()
Creates a new empty ping frame.
-
PingWebSocketFrame
public PingWebSocketFrame(ChannelBuffer binaryData)
Creates a new ping frame with the specified binary data.- Parameters:
binaryData
- the content of the frame.
-
PingWebSocketFrame
public PingWebSocketFrame(boolean finalFragment, int rsv, ChannelBuffer binaryData)
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.
-
-