Version
AlertNotification
Corresponding SMPP Command: alert_notification
Extends: Pdu
AlertNotification represents the SMPP alert_notification command. This PDU is used by an SMSC to notify an ESME that a mobile subscriber is now available - usually after the handset has reconnected to the network. It is a one-way notification with no expected response and is used to resume message delivery after a period of unreachability.
Fields inherited from class com.mobius.software.protocols.smpp.Pdu
PDU_HEADER_LENGTH, PDU_INT_LENGTH
Constructor:
public AlertNotification()
Creates a new instance of AlertNotification. Use the setter methods to populate the source and ESME addresses.
Methods:
Address getSourceAddress() | Returns the address of the mobile device that became available. |
void setSourceAddress(Address value) | Sets the mobile station (MS) address triggering the alert. |
Address getEsmeAddress() | Gets the address of the ESME that should receive the alert. |
void setEsmeAddress(Address value) | Sets the recipient ESME address. |
void readBody(ByteBuf buffer) | Deserializes the alert’s body from binary input. |
void writeBody(ByteBuf buffer) | Serializes the alert body to a binary output stream. |
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!