Version
GenericNack
Corresponding SMPP Command: generic_nack
Extends: PduResponse
GenericNack represents the SMPP generic_nack response. It is returned by the SMSC when it receives a malformed or invalid PDU, or when the command ID is not recognized. This is a general-purpose negative acknowledgment that helps clients detect protocol-level failures.
Fields (Inherited from Pdu)
PDU_HEADER_LENGTH, PDU_INT_LENGTH
Constructor:
public GenericNack()
Initializes a new instance of GenericNack with default state.
Methods:
void readBody(ByteBuf buffer) | Reads the body from binary format (always empty for GenericNack). |
void writeBody(ByteBuf buffer) | Writes the body to binary format (always empty). |
int calculateByteSizeOfBody() | Returns the body size (zero). |
void appendBodyToString(StringBuilder buffer) | Appends a human-readable summary to the buffer. |
Methods inherited from class com.mobius.software.protocols.smpp.PduResponse |
|
getResultMessage, setResultMessage | |
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!