public class Slow extends BasePacket
Modifier and Type | Field and Description |
---|---|
static int |
HEADER_LENGTH |
static Map<Byte,Deserializer<? extends IPacket>> |
PROTOCOL_DESERIALIZER_MAP |
static byte |
SUBTYPE_LACP |
parent, payload
Constructor and Description |
---|
Slow() |
Modifier and Type | Method and Description |
---|---|
static Deserializer<Slow> |
deserializer()
Deserializer function for Slow packets.
|
boolean |
equals(Object obj) |
byte |
getSubtype()
Gets subtype.
|
int |
hashCode() |
byte[] |
serialize()
Sets all payloads parent packet if applicable, then serializes this
packet and all payloads.
|
Slow |
setSubtype(byte subtype)
Sets subtype.
|
String |
toString() |
clone, getParent, getPayload, resetChecksum, setParent, setPayload
public static final int HEADER_LENGTH
public static final byte SUBTYPE_LACP
public static final Map<Byte,Deserializer<? extends IPacket>> PROTOCOL_DESERIALIZER_MAP
public byte getSubtype()
public Slow setSubtype(byte subtype)
subtype
- the subtype to setpublic static Deserializer<Slow> deserializer()
public byte[] serialize()
IPacket
public int hashCode()
hashCode
in class BasePacket
public boolean equals(Object obj)
equals
in class BasePacket