public class PingPacket extends IntercomPacket
| Constructor | Description |
|---|---|
PingPacket() |
|
PingPacket(long startTime,
int lastPing) |
| Modifier and Type | Method | Description |
|---|---|---|
void |
decode(IntercomByteBuf byteBuffer) |
|
void |
encode(IntercomByteBuf byteBuffer) |
|
int |
getLastPing() |
|
PacketType |
getPacketType() |
|
long |
getStartTime() |
public PingPacket()
public PingPacket(long startTime,
int lastPing)
public long getStartTime()
public int getLastPing()
public PacketType getPacketType()
getPacketType in class IntercomPacketpublic void encode(IntercomByteBuf byteBuffer)
encode in class IntercomPacketpublic void decode(IntercomByteBuf byteBuffer)
decode in class IntercomPacketCopyright © 2018. All rights reserved.