public final class PacketPong extends SimplePacket
HEARTBEAT, PING, PONG, UNKNOWN
Constructor and Description |
---|
PacketPong()
Create a new PONG packet.
|
Modifier and Type | Method and Description |
---|---|
short |
getHeader()
Get the header of this packet
|
java.nio.ByteBuffer |
toBytes()
Get the contents of this PacketIF as a ByteBuffer
|
getPacketName, reconstruct
public java.nio.ByteBuffer toBytes()
PacketIF
public short getHeader()
PacketIF