
public class PingWebSocketFrame extends WebSocketFrame
| Constructor and Description |
|---|
PingWebSocketFrame()
Creates a new empty ping frame.
|
PingWebSocketFrame(boolean finalFragment,
int rsv,
ChannelBuffer binaryData)
Creates a new ping frame with the specified binary data
|
PingWebSocketFrame(ChannelBuffer binaryData)
Creates a new ping frame with the specified binary data.
|
| Modifier and Type | Method and Description |
|---|---|
String |
toString() |
getBinaryData, getRsv, isFinalFragment, setBinaryData, setFinalFragment, setRsvpublic PingWebSocketFrame()
public PingWebSocketFrame(ChannelBuffer binaryData)
binaryData - the content of the frame.public PingWebSocketFrame(boolean finalFragment,
int rsv,
ChannelBuffer binaryData)
finalFragment - flag indicating if this frame is the final fragmentrsv - reserved bits used for protocol extensionsbinaryData - the content of the frame.Copyright © 2008-2014 The Netty Project. All Rights Reserved.