Class PingFrame


public class PingFrame extends TyrusFrame
Ping frame representation.
  • Constructor Details

    • PingFrame

      public PingFrame(Frame frame)
      Constructor.
      Parameters:
      frame - original (ping) frame.
    • PingFrame

      public PingFrame(byte[] payload)
      Constructor.
      Parameters:
      payload - ping frame payload.
  • Method Details

    • 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.