|
||||||||||
| 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.QueryLastMsgsResp
public class QueryLastMsgsResp
SMSC response to a QueryLastMsgs request.
| Field Summary |
|---|
| Fields inherited from class org.mobicents.protocols.smpp.message.SMPPPacket |
|---|
commandId, commandStatus, sequenceNum, tlvTable |
| Constructor Summary | |
|---|---|
QueryLastMsgsResp()
Construct a new QueryLastMsgsResp. |
|
QueryLastMsgsResp(SMPPPacket request)
Create a new QueryLastMsgsResp packet in response to a BindReceiver. |
|
| Method Summary | |
|---|---|
int |
addMessageId(String id)
Add a message Id to the response packet. |
boolean |
equals(Object obj)
|
protected int |
getMandatorySize()
Get the encoded size of the mandatory parameters of this packet. |
String[] |
getMessageIds()
Get a String array of the message Ids. |
int |
getMsgCount()
Get the number of message Ids. |
int |
hashCode()
|
protected void |
readMandatory(PacketDecoder decoder)
Read the mandatory parameters from a packet decoder. |
protected void |
toString(StringBuilder buffer)
Get the mandatory parameters in string form (for display purposes only). |
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, validateMandatory, validateTLVTable, writeTo, writeTo |
| Methods inherited from class java.lang.Object |
|---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public QueryLastMsgsResp()
public QueryLastMsgsResp(SMPPPacket request)
request - The Request packet the response is to| Method Detail |
|---|
public int addMessageId(String id)
id - The message Id to add to the packet.
public int getMsgCount()
public String[] getMessageIds()
null, if the table is empty a zero-length array will be
returned.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 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 | |||||||||