Class PongWebSocketFrame


  • public class PongWebSocketFrame
    extends WebSocketFrame
    Web Socket frame containing binary data
    • Constructor Detail

      • PongWebSocketFrame

        public PongWebSocketFrame()
        Creates a new empty pong frame.
      • PongWebSocketFrame

        public PongWebSocketFrame​(ChannelBuffer binaryData)
        Creates a new pong frame with the specified binary data.
        Parameters:
        binaryData - the content of the frame.
      • PongWebSocketFrame

        public PongWebSocketFrame​(boolean finalFragment,
                                  int rsv,
                                  ChannelBuffer binaryData)
        Creates a new pong frame with the specified binary data
        Parameters:
        finalFragment - flag indicating if this frame is the final fragment
        rsv - reserved bits used for protocol extensions
        binaryData - the content of the frame.
    • Method Detail

      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object