public class PongWebSocketFrame extends WebSocketFrame
Constructor and Description |
---|
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.
|
Modifier and Type | Method and Description |
---|---|
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.Copyright © 2008-2016 The Netty Project. All Rights Reserved.