org.mobicents.slee.resources.smpp.pdu
Class PDUImpl
java.lang.Object
org.mobicents.slee.resources.smpp.pdu.PDUImpl
- All Implemented Interfaces:
- java.io.Serializable, net.java.slee.resources.smpp.pdu.PDU
- Direct Known Subclasses:
- AlertNotificationImpl, BroadcastSMImpl, BroadcastSMRespImpl, CancelBroadcastSMImpl, CancelBroadcastSMRespImpl, CancelSMImpl, CancelSMRespImpl, DataSMImpl, DataSMRespImpl, DeliverSMImpl, DeliverSMRespImpl, GenericNackImpl, QueryBroadcastSMImpl, QueryBroadcastSMRespImpl, QuerySMImpl, QuerySMRespImpl, ReplaceSMImpl, ReplaceSMRespImpl, SubmitMultiImpl, SubmitMultiRespImpl, SubmitSMImpl, SubmitSMRespImpl
public abstract class PDUImpl
- extends java.lang.Object
- implements net.java.slee.resources.smpp.pdu.PDU
- See Also:
- Serialized Form
|
Field Summary |
protected org.mobicents.protocols.smpp.message.SMPPPacket |
smppPacket
|
|
Method Summary |
void |
addTLV(net.java.slee.resources.smpp.pdu.Tag tag,
java.lang.Object value)
|
protected net.java.slee.resources.smpp.pdu.Address |
convertProtoAddress(org.mobicents.protocols.smpp.Address address)
|
protected net.java.slee.resources.smpp.util.SMPPDate |
convertProtoDate(org.mobicents.protocols.smpp.util.SMPPDate protoSmppDate)
|
protected net.java.slee.resources.smpp.pdu.ErrorAddress |
convertProtoErrorAddress(org.mobicents.protocols.smpp.ErrorAddress errorAddress)
|
boolean |
equals(java.lang.Object obj)
|
java.util.Map<net.java.slee.resources.smpp.pdu.Tag,java.lang.Object> |
getAllTLVs()
|
int |
getCommandId()
|
int |
getCommandStatus()
|
long |
getSequenceNum()
|
java.lang.Object |
getValue(net.java.slee.resources.smpp.pdu.Tag tag)
|
int |
hashCode()
|
boolean |
hasTLV(net.java.slee.resources.smpp.pdu.Tag tag)
|
java.lang.Object |
removeTLV(net.java.slee.resources.smpp.pdu.Tag tag)
|
void |
setSequenceNum(long sequenceNum)
|
| Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface net.java.slee.resources.smpp.pdu.PDU |
isTLVPermitted |
smppPacket
protected org.mobicents.protocols.smpp.message.SMPPPacket smppPacket
PDUImpl
public PDUImpl()
getCommandId
public int getCommandId()
- Specified by:
getCommandId in interface net.java.slee.resources.smpp.pdu.PDU
getCommandStatus
public int getCommandStatus()
- Specified by:
getCommandStatus in interface net.java.slee.resources.smpp.pdu.PDU
getSequenceNum
public long getSequenceNum()
- Specified by:
getSequenceNum in interface net.java.slee.resources.smpp.pdu.PDU
setSequenceNum
public void setSequenceNum(long sequenceNum)
addTLV
public void addTLV(net.java.slee.resources.smpp.pdu.Tag tag,
java.lang.Object value)
throws net.java.slee.resources.smpp.pdu.TLVNotPermittedException
- Specified by:
addTLV in interface net.java.slee.resources.smpp.pdu.PDU
- Throws:
net.java.slee.resources.smpp.pdu.TLVNotPermittedException
getAllTLVs
public java.util.Map<net.java.slee.resources.smpp.pdu.Tag,java.lang.Object> getAllTLVs()
- Specified by:
getAllTLVs in interface net.java.slee.resources.smpp.pdu.PDU
getValue
public java.lang.Object getValue(net.java.slee.resources.smpp.pdu.Tag tag)
- Specified by:
getValue in interface net.java.slee.resources.smpp.pdu.PDU
hasTLV
public boolean hasTLV(net.java.slee.resources.smpp.pdu.Tag tag)
- Specified by:
hasTLV in interface net.java.slee.resources.smpp.pdu.PDU
removeTLV
public java.lang.Object removeTLV(net.java.slee.resources.smpp.pdu.Tag tag)
- Specified by:
removeTLV in interface net.java.slee.resources.smpp.pdu.PDU
hashCode
public int hashCode()
- Overrides:
hashCode in class java.lang.Object
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equals in class java.lang.Object
convertProtoDate
protected net.java.slee.resources.smpp.util.SMPPDate convertProtoDate(org.mobicents.protocols.smpp.util.SMPPDate protoSmppDate)
convertProtoAddress
protected net.java.slee.resources.smpp.pdu.Address convertProtoAddress(org.mobicents.protocols.smpp.Address address)
convertProtoErrorAddress
protected net.java.slee.resources.smpp.pdu.ErrorAddress convertProtoErrorAddress(org.mobicents.protocols.smpp.ErrorAddress errorAddress)
Copyright © 2010. All Rights Reserved.