public class PongWebSocketFrame extends WebSocketFrame
Constructor and Description |
---|
PongWebSocketFrame()
Creates a new empty pong frame.
|
PongWebSocketFrame(boolean finalFragment,
int rsv,
io.netty.buffer.ByteBuf binaryData)
Creates a new pong frame with the specified binary data
|
PongWebSocketFrame(io.netty.buffer.ByteBuf binaryData)
Creates a new pong frame with the specified binary data.
|
Modifier and Type | Method and Description |
---|---|
PongWebSocketFrame |
copy() |
PongWebSocketFrame |
duplicate() |
PongWebSocketFrame |
retain() |
PongWebSocketFrame |
retain(int increment) |
isFinalFragment, rsv, toString
public PongWebSocketFrame()
public PongWebSocketFrame(io.netty.buffer.ByteBuf binaryData)
binaryData
- the content of the frame.public PongWebSocketFrame(boolean finalFragment, int rsv, io.netty.buffer.ByteBuf binaryData)
finalFragment
- flag indicating if this frame is the final fragmentrsv
- reserved bits used for protocol extensionsbinaryData
- the content of the frame.public PongWebSocketFrame copy()
copy
in interface io.netty.buffer.ByteBufHolder
copy
in class WebSocketFrame
public PongWebSocketFrame duplicate()
duplicate
in interface io.netty.buffer.ByteBufHolder
duplicate
in class WebSocketFrame
public PongWebSocketFrame retain()
retain
in interface io.netty.buffer.ByteBufHolder
retain
in interface io.netty.util.ReferenceCounted
retain
in class WebSocketFrame
public PongWebSocketFrame retain(int increment)
retain
in interface io.netty.buffer.ByteBufHolder
retain
in interface io.netty.util.ReferenceCounted
retain
in class WebSocketFrame
Copyright © 2008–2013 The Netty Project. All rights reserved.