public class CPingPacket extends java.lang.Object implements IPacket<IServerStatusNetHandler>
Modifier and Type | Field and Description |
---|---|
private long |
clientTime |
Constructor and Description |
---|
CPingPacket() |
CPingPacket(long clientTimeIn) |
Modifier and Type | Method and Description |
---|---|
long |
getClientTime() |
void |
processPacket(IServerStatusNetHandler handler) |
void |
readPacketData(PacketBuffer buf) |
void |
writePacketData(PacketBuffer buf) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
shouldSkipErrors
public CPingPacket()
public CPingPacket(long clientTimeIn)
public void readPacketData(PacketBuffer buf) throws java.io.IOException
readPacketData
in interface IPacket<IServerStatusNetHandler>
java.io.IOException
public void writePacketData(PacketBuffer buf) throws java.io.IOException
writePacketData
in interface IPacket<IServerStatusNetHandler>
java.io.IOException
public void processPacket(IServerStatusNetHandler handler)
processPacket
in interface IPacket<IServerStatusNetHandler>
public long getClientTime()