Version
PartialPdu
public class PartialPdu
Extends: EmptyBody<GenericNack>
PartialPdu is a special-purpose class used to represent a malformed or incomplete PDU that was received but could not be fully parsed. Instead of throwing an error immediately, the system may create a PartialPdu instance to track the failed command and respond with a GenericNack, if applicable.
Fields inherited from class com.mobius.software.protocols.smpp.Pdu
PDU_HEADER_LENGTH, PDU_INT_LENGTH
Constructor:
public PartialPdu(CommandType commandId)
commandId – The original SMPP command identifier (even if the rest of the PDU could not be decoded).
Creates a new PartialPdu using the command type that caused the parsing issue.
Methods:
GenericNack createResponse() | Returns a GenericNack in response to this invalid PDU. |
Class<GenericNack> getResponseClass() | Returns the response type associated with this class (GenericNack). |
Methods inherited from class com.mobius.software.protocols.smpp.EmptyBody |
|
appendBodyToString, calculateByteSizeOfBody, readBody, writeBody | |
Methods inherited from class com.mobius.software.protocols.smpp.PduRequest |
|
createGenericNack | |
Methods inherited from class com.mobius.software.protocols.smpp.Pdu |
|
addOptionalParameter, calculateAndSetCommandLength, getCommandId, getCommandLength, getCommandStatus, getName, getOptionalParameter, getOptionalParameterCount, getOptionalParameters, getReferenceObject, getSequenceNumber, hasCommandLengthCalculated, hasOptionalParameter, hasSequenceNumberAssigned, isRequest, isResponse, readOptionalParameters, removeCommandLength, removeOptionalParameter, removeSequenceNumber, setCommandLength, setCommandStatus, setOptionalParameter, setReferenceObject, setSequenceNumber, toString, writeOptionalParameters | |
Methods inherited from class java.lang.Object |
|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Start innovating with Mobius
What's next? Let's talk!