public class PongWebSocketFrame extends WebSocketFrame
构造器和说明 |
---|
PongWebSocketFrame()
Creates a new empty pong frame.
|
PongWebSocketFrame(boolean finalFragment,
int rsv,
ChannelBuffer binaryData)
Creates a new pong frame with the specified binary data
|
PongWebSocketFrame(ChannelBuffer binaryData)
Creates a new pong frame with the specified binary data.
|
限定符和类型 | 方法和说明 |
---|---|
java.lang.String |
toString() |
getBinaryData, getRsv, isFinalFragment, setBinaryData, setFinalFragment, setRsv
public PongWebSocketFrame()
public PongWebSocketFrame(ChannelBuffer binaryData)
binaryData
- the content of the frame.public PongWebSocketFrame(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.