Class PongFrame

All Implemented Interfaces:
Framedata

public class PongFrame extends ControlFrame
Class to represent a pong frame
  • Constructor Details

    • PongFrame

      public PongFrame()
      constructor which sets the opcode of this frame to pong
    • PongFrame

      public PongFrame(PingFrame pingFrame)
      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