public class FragmentMessageResponsePacket extends FragmentPIDMSGPacket
FragmentMessagePacket
.
Major ID: 254 Minor ID: 4
Constructor and Description |
---|
FragmentMessageResponsePacket(java.lang.Integer packetID,
java.lang.Integer fragmentID,
byte[] payload)
Constructs a new FragmentMessageResponsePacket given the packet ID, fragment ID and payload.
|
Modifier and Type | Method and Description |
---|---|
PacketProtocolInformation |
getProtocol()
Gets the protocol information.
|
static PacketProtocolInformation |
getTheProtocol()
Gets the protocol information statically.
|
getFragmentID, getFragmentMessage, isValid, loadPayload, savePayload
getPacketID
public FragmentMessageResponsePacket(java.lang.Integer packetID, java.lang.Integer fragmentID, byte[] payload)
packetID
- The packet ID.fragmentID
- The fragment ID.payload
- The payload to store.java.lang.IllegalArgumentException
- packetID or fragmentID is less than 0.public PacketProtocolInformation getProtocol()
public static PacketProtocolInformation getTheProtocol()