public class FragmentSendVerifyCompletePacket extends FragmentPIDPacket
Major ID: 254 Minor ID: 8
Constructor and Description |
---|
FragmentSendVerifyCompletePacket(java.lang.Integer packetID)
Constructs a new FragmentSendVerifyCompletePacket given the packet ID.
|
Modifier and Type | Method and Description |
---|---|
PacketProtocolInformation |
getProtocol()
Gets the protocol information.
|
static PacketProtocolInformation |
getTheProtocol()
Gets the protocol information statically.
|
void |
loadPayload(byte[] packetData)
Loads the packet payload from save data.
|
byte[] |
savePayload()
Saves the packet payload to a byte array.
|
getPacketID, isValid
public FragmentSendVerifyCompletePacket(java.lang.Integer packetID)
packetID
- The packet ID.java.lang.IllegalArgumentException
- packetID is less than 0.public PacketProtocolInformation getProtocol()
public static PacketProtocolInformation getTheProtocol()
public byte[] savePayload() throws PacketException
PacketException
- An Exception has occurred.public void loadPayload(byte[] packetData) throws PacketException
packetData
- The packet payload data.java.lang.NullPointerException
- The new store data is null.PacketException
- An Exception has occurred.