Package org.java_websocket.framing
Class PongFrame
java.lang.Object
org.java_websocket.framing.FramedataImpl1
org.java_websocket.framing.ControlFrame
org.java_websocket.framing.PongFrame
- All Implemented Interfaces:
Framedata
Class to represent a pong frame
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class org.java_websocket.framing.ControlFrame
isValid
Methods inherited from class org.java_websocket.framing.FramedataImpl1
append, equals, get, getOpcode, getPayloadData, getTransfereMasked, hashCode, isFin, isRSV1, isRSV2, isRSV3, setFin, setPayload, setRSV1, setRSV2, setRSV3, setTransferemasked, toString
-
Constructor Details
-
PongFrame
public PongFrame()constructor which sets the opcode of this frame to pong -
PongFrame
constructor which sets the opcode of this frame to ping copying over the payload of the ping- Parameters:
pingFrame
- the PingFrame which payload is to copy
-