public class ServerHandshake extends SentPacket
Modifier and Type | Field and Description |
---|---|
InetSocketAddress |
address |
long |
ping |
long |
pong |
Constructor and Description |
---|
ServerHandshake() |
Modifier and Type | Method and Description |
---|---|
protected void |
encode() |
protected int |
length()
Returns the length of this packet excluding the packet ID
|
byte |
pid() |
public InetSocketAddress address
public long ping
public long pong
public byte pid()
pid
in class SentPacket
protected int length()
SentPacket
length
in class SentPacket
protected void encode()
encode
in class SentPacket
Copyright © 2016. All rights reserved.