org.mobicents.slee.resources.smpp.pdu
Class PDUImpl
java.lang.Object
org.mobicents.slee.resources.smpp.pdu.PDUImpl
- All Implemented Interfaces:
- java.io.Serializable, 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 PDU
- See Also:
- Serialized Form
|
Field Summary |
protected org.mobicents.protocols.smpp.message.SMPPPacket |
smppPacket
|
| Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
smppPacket
protected org.mobicents.protocols.smpp.message.SMPPPacket smppPacket
PDUImpl
public PDUImpl()
getCommandId
public int getCommandId()
- Specified by:
getCommandId in interface PDU
getCommandStatus
public int getCommandStatus()
- Specified by:
getCommandStatus in interface PDU
getSequenceNum
public long getSequenceNum()
- Specified by:
getSequenceNum in interface PDU
setSequenceNum
public void setSequenceNum(long sequenceNum)
addTLV
public void addTLV(Tag tag,
java.lang.Object value)
throws TLVNotPermittedException
- Specified by:
addTLV in interface PDU
- Throws:
TLVNotPermittedException
getAllTLVs
public java.util.Map<Tag,java.lang.Object> getAllTLVs()
- Specified by:
getAllTLVs in interface PDU
getValue
public java.lang.Object getValue(Tag tag)
- Specified by:
getValue in interface PDU
hasTLV
public boolean hasTLV(Tag tag)
- Specified by:
hasTLV in interface PDU
removeTLV
public java.lang.Object removeTLV(Tag tag)
- Specified by:
removeTLV in interface 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 SMPPDate convertProtoDate(org.mobicents.protocols.smpp.util.SMPPDate protoSmppDate)
convertProtoAddress
protected Address convertProtoAddress(org.mobicents.protocols.smpp.Address address)
convertProtoErrorAddress
protected ErrorAddress convertProtoErrorAddress(org.mobicents.protocols.smpp.ErrorAddress errorAddress)
Copyright © 2011. All Rights Reserved.