Package 

Class PongFrame

  • All Implemented Interfaces:
    com.tds.common.websocket.framing.Framedata

    
    public class PongFrame
    extends ControlFrame
                        

    Class to represent a pong frame

    • Constructor Summary

      Constructors 
      Constructor Description
      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
    • Method Summary

      Modifier and Type Method Description
      • Methods inherited from class com.tds.common.websocket.framing.ControlFrame

        isValid
      • Methods inherited from class com.tds.common.websocket.framing.FramedataImpl1

        append, equals, get, getOpcode, getPayloadData, getTransfereMasked, hashCode, isFin, isRSV1, isRSV2, isRSV3, setFin, setPayload, setRSV1, setRSV2, setRSV3, setTransferemasked, toString
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • PongFrame

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

        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