Top Description Constructors Methods
org.java_websocket.framing

public Class PongFrame

extends ControlFrame
Class Inheritance
Imports
org.java_websocket.enums.Opcode

Class to represent a pong frame

Constructor Summary

AccessConstructor and Description
public
PongFrame()

constructor which sets the opcode of this frame to pong

public
PongFrame(PingFrame
the PingFrame which payload is to copy
pingFrame
)

constructor which sets the opcode of this frame to ping copying over the payload of the ping

Method Summary

Inherited from org.java_websocket.framing.ControlFrame:
isValid

Constructor Detail

PongFrameback to summary
public PongFrame()

constructor which sets the opcode of this frame to pong

PongFrameback to summary
public PongFrame(PingFrame pingFrame)

constructor which sets the opcode of this frame to ping copying over the payload of the ping

Parameters
pingFrame:PingFrame

the PingFrame which payload is to copy