Class PongFrame


  • public class PongFrame
    extends TyrusFrame
    Pong frame representation.
    • Constructor Detail

      • PongFrame

        public PongFrame​(Frame frame)
        Constructor.
        Parameters:
        frame - original (pong) frame.
      • PongFrame

        public PongFrame​(byte[] payload)
        Constructor.
        Parameters:
        payload - pong frame payload.
    • Method Detail

      • respond

        public void respond​(TyrusWebSocket socket)
        Description copied from class: TyrusFrame
        Execution part of frame processing.
        Specified by:
        respond in class TyrusFrame
        Parameters:
        socket - socket on which the appropriate action will be performed.