public abstract class IP extends BasePacket
parent, payload
Constructor and Description |
---|
IP() |
Modifier and Type | Method and Description |
---|---|
static Deserializer<? extends IP> |
deserializer()
Deserializer function for IP packets.
|
abstract byte |
getVersion()
Gets IP version number.
|
abstract IP |
setVersion(byte version)
Sets IP version number.
|
clone, equals, getParent, getPayload, hashCode, resetChecksum, setParent, setPayload
public abstract byte getVersion()
public abstract IP setVersion(byte version)
version
- the version to setpublic static Deserializer<? extends IP> deserializer()