public class FragmentSendCompletePacket extends FragmentPIDAKNPacket
Major ID: 254 Minor ID: 5
Constructor and Description |
---|
FragmentSendCompletePacket(java.lang.Integer packetID,
java.lang.Boolean acknowledgement)
Constructs a new FragmentSendCompletePacket given the packet ID and the acknowledgement value.
|
Modifier and Type | Method and Description |
---|---|
PacketProtocolInformation |
getProtocol()
Gets the protocol information.
|
static PacketProtocolInformation |
getTheProtocol()
Gets the protocol information statically.
|
isAcknowledgement, isValid, loadPayload, savePayload
getPacketID
public FragmentSendCompletePacket(java.lang.Integer packetID, java.lang.Boolean acknowledgement)
packetID
- The packet ID.acknowledgement
- The acknowledgement value to use.java.lang.IllegalArgumentException
- packetID is less than 0.public PacketProtocolInformation getProtocol()
public static PacketProtocolInformation getTheProtocol()