|
||||||||||
| 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.QueryMsgDetailsResp
public class QueryMsgDetailsResp
Response to Query message details. Gives all details of a specified message at the SMSC.
| Field Summary |
|---|
| Fields inherited from class org.mobicents.protocols.smpp.message.SMPPPacket |
|---|
commandId, commandStatus, sequenceNum, tlvTable |
| Constructor Summary | |
|---|---|
QueryMsgDetailsResp()
Construct a new QueryMsgDetailsResp. |
|
QueryMsgDetailsResp(SMPPPacket request)
Create a new QueryMsgDetailsResp packet in response to a BindReceiver. |
|
| Method Summary | |
|---|---|
int |
addDestination(Address address)
Add an address to the destination table. |
int |
addDestination(String distributionList)
Add a distribution list to the destination table. |
boolean |
equals(Object obj)
|
int |
getDataCoding()
|
SMPPDate |
getDeliveryTime()
|
DestinationTable |
getDestinationTable()
Get a handle to the destination table. |
int |
getErrorCode()
|
SMPPDate |
getExpiryTime()
|
SMPPDate |
getFinalDate()
|
protected int |
getMandatorySize()
Get the encoded size of the mandatory parameters of this packet. |
byte[] |
getMessage()
|
String |
getMessageId()
|
MessageState |
getMessageStatus()
|
int |
getNumDests()
Get the current number of destination addresses. |
int |
getPriority()
|
int |
getProtocolID()
|
int |
getRegistered()
|
String |
getServiceType()
|
Address |
getSource()
|
int |
hashCode()
|
protected void |
readMandatory(PacketDecoder decoder)
Read the mandatory parameters from a packet decoder. |
void |
setDataCoding(int dataCoding)
|
void |
setDeliveryTime(SMPPDate deliveryTime)
|
void |
setErrorCode(int errorCode)
|
void |
setExpiryTime(SMPPDate expiryTime)
|
void |
setFinalDate(SMPPDate finalDate)
|
void |
setMessage(byte[] message)
|
void |
setMessageId(String messageId)
|
void |
setMessageStatus(MessageState messageStatus)
|
void |
setPriority(int priority)
|
void |
setProtocolID(int protocolID)
|
void |
setRegistered(int registered)
|
void |
setServiceType(String serviceType)
|
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 QueryMsgDetailsResp()
public QueryMsgDetailsResp(SMPPPacket request)
request - The Request packet the response is to| Method Detail |
|---|
public int getDataCoding()
public void setDataCoding(int dataCoding)
public SMPPDate getDeliveryTime()
public void setDeliveryTime(SMPPDate deliveryTime)
public int getErrorCode()
public void setErrorCode(int errorCode)
public SMPPDate getExpiryTime()
public void setExpiryTime(SMPPDate expiryTime)
public SMPPDate getFinalDate()
public void setFinalDate(SMPPDate finalDate)
public byte[] getMessage()
public void setMessage(byte[] message)
public String getMessageId()
public void setMessageId(String messageId)
public MessageState getMessageStatus()
public void setMessageStatus(MessageState messageStatus)
public int getPriority()
public void setPriority(int priority)
public int getProtocolID()
public void setProtocolID(int protocolID)
public int getRegistered()
public void setRegistered(int registered)
public String getServiceType()
public void setServiceType(String serviceType)
public Address getSource()
public void setSource(Address source)
public int addDestination(Address address)
address - The SME destination address
Addresspublic int addDestination(String distributionList)
distributionList - the distribution list name.
public int getNumDests()
public DestinationTable getDestinationTable()
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 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 SMPPPacket
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||