public class CPacketPing extends java.lang.Object implements Packet<INetHandlerStatusServer>
Modifier and Type | Field and Description |
---|---|
private long |
clientTime |
Constructor and Description |
---|
CPacketPing() |
CPacketPing(long clientTimeIn) |
Modifier and Type | Method and Description |
---|---|
long |
getClientTime() |
void |
processPacket(INetHandlerStatusServer handler) |
void |
readPacketData(PacketBuffer buf) |
void |
writePacketData(PacketBuffer buf) |
public CPacketPing()
public CPacketPing(long clientTimeIn)
public void readPacketData(PacketBuffer buf) throws java.io.IOException
readPacketData
in interface Packet<INetHandlerStatusServer>
java.io.IOException
public void writePacketData(PacketBuffer buf) throws java.io.IOException
writePacketData
in interface Packet<INetHandlerStatusServer>
java.io.IOException
public void processPacket(INetHandlerStatusServer handler)
processPacket
in interface Packet<INetHandlerStatusServer>
public long getClientTime()