|
||||||||||
| 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.BroadcastSM
public class BroadcastSM
Submit a broadcast message to the SMSC.
| Field Summary |
|---|
| Fields inherited from class org.mobicents.protocols.smpp.message.SMPPPacket |
|---|
commandId, commandStatus, sequenceNum, tlvTable |
| Constructor Summary | |
|---|---|
BroadcastSM()
|
|
| Method Summary | |
|---|---|
boolean |
equals(Object obj)
|
int |
getDataCoding()
|
int |
getDefaultMsg()
|
SMPPDate |
getDeliveryTime()
|
SMPPDate |
getExpiryTime()
|
protected int |
getMandatorySize()
Get the encoded size of the mandatory parameters of this packet. |
String |
getMessageId()
|
int |
getPriority()
|
int |
getReplaceIfPresent()
|
String |
getServiceType()
|
Address |
getSource()
|
int |
hashCode()
|
protected void |
readMandatory(PacketDecoder decoder)
Read the mandatory parameters from a packet decoder. |
void |
setDataCoding(int dataCoding)
|
void |
setDefaultMsg(int defaultMsg)
|
void |
setDeliveryTime(SMPPDate deliveryTime)
|
void |
setExpiryTime(SMPPDate expiryTime)
|
void |
setMessageId(String messageId)
|
void |
setPriority(int priority)
|
void |
setReplaceIfPresent(int replaceIfPresent)
|
void |
setServiceType(String serviceType)
|
void |
setSource(Address source)
|
protected void |
validateMandatory(SMPPVersion smppVersion)
Validate the mandatory parameters for this packet. |
protected boolean |
validateTLVTable(SMPPVersion version)
Validate that the TLV table contains all required parameters. |
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, toString, validate, writeTo, writeTo |
| Methods inherited from class java.lang.Object |
|---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public BroadcastSM()
| Method Detail |
|---|
public int getDataCoding()
public void setDataCoding(int dataCoding)
public int getDefaultMsg()
public void setDefaultMsg(int defaultMsg)
public SMPPDate getDeliveryTime()
public void setDeliveryTime(SMPPDate deliveryTime)
public SMPPDate getExpiryTime()
public void setExpiryTime(SMPPDate expiryTime)
public String getMessageId()
public void setMessageId(String messageId)
public int getPriority()
public void setPriority(int priority)
public int getReplaceIfPresent()
public void setReplaceIfPresent(int replaceIfPresent)
public String getServiceType()
public void setServiceType(String serviceType)
public Address getSource()
public void setSource(Address source)
public boolean equals(Object obj)
equals in class SMPPPacketpublic int hashCode()
hashCode in class SMPPPacketprotected void readMandatory(PacketDecoder decoder)
SMPPPacket
readMandatory in class SMPPPacketdecoder - The decoder to read fields from.
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 int getMandatorySize()
SMPPPacket
getMandatorySize 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 boolean validateTLVTable(SMPPVersion version)
SMPPPacket
validateTLVTable in class SMPPPacketversion - The version to validate against. Since
required TLVs were only introduced in SMPP version 5.0, this
method will only ever be called when using a version that
is equivalent to or newer than that.
true if all required TLVs are set,
false otherwise.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||