public class QueryPongS2CPacket extends Object implements Packet<ClientQueryPacketListener>
| Modifier and Type | Field and Description |
|---|---|
private long |
startTime |
| Constructor and Description |
|---|
QueryPongS2CPacket() |
QueryPongS2CPacket(long startTime) |
| Modifier and Type | Method and Description |
|---|---|
void |
apply(ClientQueryPacketListener clientQueryPacketListener) |
void |
read(PacketByteBuf buf) |
void |
write(PacketByteBuf buf) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitisWritingErrorSkippablepublic QueryPongS2CPacket()
public QueryPongS2CPacket(long startTime)
public void read(PacketByteBuf buf) throws IOException
read in interface Packet<ClientQueryPacketListener>IOExceptionpublic void write(PacketByteBuf buf) throws IOException
write in interface Packet<ClientQueryPacketListener>IOExceptionpublic void apply(ClientQueryPacketListener clientQueryPacketListener)
apply in interface Packet<ClientQueryPacketListener>