|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.mobicents.protocols.smpp.message.SMPPPacket
org.mobicents.protocols.smpp.message.AlertNotification
public class AlertNotification
Alert notification. This packet type is sent from the SMSC to an ESME to
signal that a particular mobile subscriber has become available and a
delivery pending flag had previously been set for that subscriber by a
data_sm packet.
Note that there is no response packet to an alert_notification.
| Field Summary |
|---|
| Fields inherited from class org.mobicents.protocols.smpp.message.SMPPPacket |
|---|
commandId, commandStatus, sequenceNum, tlvTable |
| Constructor Summary | |
|---|---|
AlertNotification()
Create a new alert_notification object. |
|
| Method Summary | |
|---|---|
boolean |
equals(Object obj)
|
Address |
getDestination()
|
protected int |
getMandatorySize()
Get the encoded size of the mandatory parameters of this packet. |
Address |
getSource()
|
int |
hashCode()
|
protected void |
readMandatory(PacketDecoder decoder)
Read the mandatory parameters from a packet decoder. |
void |
setDestination(Address destination)
|
void |
setSource(Address source)
|
protected void |
toString(StringBuilder buffer)
Get the mandatory parameters in string form (for display purposes only). |
protected void |
validateMandatory(SMPPVersion smppVersion)
Validate the mandatory parameters for this packet. |
protected void |
writeMandatory(PacketEncoder encoder)
Write the mandatory parameters to a packet encoder. |
| Methods inherited from class org.mobicents.protocols.smpp.message.SMPPPacket |
|---|
clone, getCommandId, getCommandStatus, getLength, getSequenceNum, getTLV, getTLVTable, isRequest, isResponse, isSet, readFrom, removeTLV, safeCompare, setCommandStatus, setSequenceNum, setTLV, sizeOf, sizeOf, sizeOf, sizeOf, toString, validate, validateTLVTable, writeTo, writeTo |
| Methods inherited from class java.lang.Object |
|---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public AlertNotification()
| Method Detail |
|---|
public Address getDestination()
public void setDestination(Address destination)
public Address getSource()
public void setSource(Address source)
public boolean equals(Object obj)
equals in class SMPPPacketpublic int hashCode()
hashCode in class SMPPPacketprotected void toString(StringBuilder buffer)
SMPPPacket
toString in class SMPPPacketprotected void validateMandatory(SMPPVersion smppVersion)
SMPPPacket
org.mobicents.smpp.version.VersionException should be
thrown.
validateMandatory in class SMPPPacketsmppVersion - The version to validate against.
protected void writeMandatory(PacketEncoder encoder)
throws IOException
SMPPPacket
writeMandatory in class SMPPPacketencoder - The encoder to write mandatory parameters to.
IOException - If an problem occurs while writing.protected void readMandatory(PacketDecoder decoder)
SMPPPacket
readMandatory in class SMPPPacketdecoder - The decoder to read fields from.protected int getMandatorySize()
SMPPPacket
getMandatorySize in class SMPPPacket
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||