org.mobicents.slee.resources.smpp.pdu
Class DataSMImpl

java.lang.Object
  extended by org.mobicents.slee.resources.smpp.pdu.PDUImpl
      extended by org.mobicents.slee.resources.smpp.pdu.DataSMImpl
All Implemented Interfaces:
java.io.Serializable, DataSM, PDU, SmppRequest, ExtSmppRequest

public class DataSMImpl
extends PDUImpl
implements DataSM, ExtSmppRequest

Author:
amit bhayani
See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.mobicents.slee.resources.smpp.pdu.PDUImpl
smppPacket
 
Fields inherited from interface net.java.slee.resources.smpp.pdu.SmppRequest
ALERT_NOTIFICATION, BIND_RECEIVER, BIND_RECEIVER_RESP, BIND_TRANSCEIVER, BIND_TRANSCEIVER_RESP, BIND_TRANSMITTER, BIND_TRANSMITTER_RESP, BORADCAST_SM_RESP, BROADCAST_SM, CANCEL_BROADCAST_SM, CANCEL_BROADCAST_SM_RESP, CANCEL_SM, CANCEL_SM_RESP, DATA_SM, DATA_SM_RESP, DELIVER_SM, DELIVER_SM_RESP, ENQUIRE_LINK, ENQUIRY_LINK_RESP, GENERIC_NACK, OUTBIND, QUERY_BROADCAST_SM, QUERY_BROADCAST_SM_RESP, QUERY_SM, QUERY_SM_RESP, REPLACE_SM, REPLACE_SM_RESP, SUBMIT_MULTI, SUBMIT_MULTI_RESP, SUBMIT_SM, SUBMIT_SM_RESP, UNBIND, UNBIND_RESP
 
Constructor Summary
DataSMImpl(org.mobicents.protocols.smpp.message.DataSM dataSm)
           
DataSMImpl(long sequenceNumber)
           
 
Method Summary
 SmppResponse createSmppResponseEvent(int status)
           
 int getDataCoding()
           
 Address getDestAddress()
           
 int getEsmClass()
           
 int getRegisteredDelivery()
           
 java.lang.String getServiceType()
           
 org.mobicents.protocols.smpp.message.SMPPPacket getSMPPPacket()
           
 Address getSourceAddress()
           
 boolean isTLVPermitted(Tag tag)
           
 void setDataCoding(int dataCoding)
           
 void setDestAddress(Address address)
           
 void setEsmClass(int esmClass)
           
 void setRegisteredDelivery(int registeredDelivery)
           
 void setServiceType(java.lang.String serviceType)
           
 void setSourceAddress(Address address)
           
 
Methods inherited from class org.mobicents.slee.resources.smpp.pdu.PDUImpl
addTLV, convertProtoAddress, convertProtoDate, convertProtoErrorAddress, equals, getAllTLVs, getCommandId, getCommandStatus, getSequenceNum, getValue, hashCode, hasTLV, removeTLV, setSequenceNum
 
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
addTLV, getAllTLVs, getCommandId, getCommandStatus, getSequenceNum, getValue, hasTLV, removeTLV
 

Constructor Detail

DataSMImpl

public DataSMImpl(org.mobicents.protocols.smpp.message.DataSM dataSm)

DataSMImpl

public DataSMImpl(long sequenceNumber)
Method Detail

getDataCoding

public int getDataCoding()
Specified by:
getDataCoding in interface DataSM

getDestAddress

public Address getDestAddress()
Specified by:
getDestAddress in interface DataSM

getEsmClass

public int getEsmClass()
Specified by:
getEsmClass in interface DataSM

getRegisteredDelivery

public int getRegisteredDelivery()
Specified by:
getRegisteredDelivery in interface DataSM

getServiceType

public java.lang.String getServiceType()
Specified by:
getServiceType in interface DataSM

getSourceAddress

public Address getSourceAddress()
Specified by:
getSourceAddress in interface DataSM

setDataCoding

public void setDataCoding(int dataCoding)
Specified by:
setDataCoding in interface DataSM

setDestAddress

public void setDestAddress(Address address)
Specified by:
setDestAddress in interface DataSM

setEsmClass

public void setEsmClass(int esmClass)
Specified by:
setEsmClass in interface DataSM

setRegisteredDelivery

public void setRegisteredDelivery(int registeredDelivery)
Specified by:
setRegisteredDelivery in interface DataSM

setServiceType

public void setServiceType(java.lang.String serviceType)
Specified by:
setServiceType in interface DataSM

setSourceAddress

public void setSourceAddress(Address address)
Specified by:
setSourceAddress in interface DataSM

createSmppResponseEvent

public SmppResponse createSmppResponseEvent(int status)
Specified by:
createSmppResponseEvent in interface SmppRequest

isTLVPermitted

public boolean isTLVPermitted(Tag tag)
Specified by:
isTLVPermitted in interface PDU

getSMPPPacket

public org.mobicents.protocols.smpp.message.SMPPPacket getSMPPPacket()
Specified by:
getSMPPPacket in interface ExtSmppRequest


Copyright © 2011. All Rights Reserved.