public class PongFrame extends ControlFrame
Framedata.Opcode
构造器和说明 |
---|
PongFrame()
constructor which sets the opcode of this frame to pong
|
PongFrame(PingFrame pingFrame)
constructor which sets the opcode of this frame to ping copying over the payload of the ping
|
isValid
append, get, getOpcode, getPayloadData, getTransfereMasked, isFin, isRSV1, isRSV2, isRSV3, setFin, setPayload, setRSV1, setRSV2, setRSV3, setTransferemasked, toString
public PongFrame()
public PongFrame(PingFrame pingFrame)
pingFrame
- the PingFrame which payload is to copy