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

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

public class DeliverSMImpl
extends PDUImpl
implements net.java.slee.resources.smpp.pdu.DeliverSM, 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
DeliverSMImpl(org.mobicents.protocols.smpp.message.DeliverSM submitSM)
           
DeliverSMImpl(long sequenceNumber)
           
 
Method Summary
 net.java.slee.resources.smpp.pdu.SmppResponse createSmppResponseEvent(int status)
           
 int getDataCoding()
           
 net.java.slee.resources.smpp.pdu.Address getDestAddress()
           
 int getEsmClass()
           
 byte[] getMessage()
           
 int getPriority()
           
 int getProtocolID()
           
 int getRegisteredDelivery()
           
 int getReplaceIfPresentFlag()
           
 net.java.slee.resources.smpp.util.SMPPDate getScheduleDeliveryTime()
           
 java.lang.String getServiceType()
           
 int getSmDefaultMsgID()
           
 org.mobicents.protocols.smpp.message.SMPPPacket getSMPPPacket()
           
 net.java.slee.resources.smpp.pdu.Address getSourceAddress()
           
 net.java.slee.resources.smpp.util.SMPPDate getValidityPeriod()
           
 boolean isTLVPermitted(net.java.slee.resources.smpp.pdu.Tag tag)
           
 void setDataCoding(int dataCoding)
           
 void setDestAddress(net.java.slee.resources.smpp.pdu.Address address)
           
 void setEsmClass(int esmClass)
           
 void setMessage(byte[] message)
           
 void setPriority(int priority)
           
 void setProtocolID(int protocolID)
           
 void setRegisteredDelivery(int registeredDelivery)
           
 void setReplaceIfPresentFlag(int replaceIfPresentFlag)
           
 void setScheduleDeliveryTime(net.java.slee.resources.smpp.util.SMPPDate time)
           
 void setServiceType(java.lang.String serviceType)
           
 void setSmDefaultMsgID(int smDefaultMsgID)
           
 void setSourceAddress(net.java.slee.resources.smpp.pdu.Address address)
           
 void setValidityPeriod(net.java.slee.resources.smpp.util.SMPPDate period)
           
 
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

DeliverSMImpl

public DeliverSMImpl(org.mobicents.protocols.smpp.message.DeliverSM submitSM)

DeliverSMImpl

public DeliverSMImpl(long sequenceNumber)
Method Detail

getDataCoding

public int getDataCoding()
Specified by:
getDataCoding in interface net.java.slee.resources.smpp.pdu.DeliverSM

getEsmClass

public int getEsmClass()
Specified by:
getEsmClass in interface net.java.slee.resources.smpp.pdu.DeliverSM

getMessage

public byte[] getMessage()
Specified by:
getMessage in interface net.java.slee.resources.smpp.pdu.DeliverSM

getPriority

public int getPriority()
Specified by:
getPriority in interface net.java.slee.resources.smpp.pdu.DeliverSM

getProtocolID

public int getProtocolID()
Specified by:
getProtocolID in interface net.java.slee.resources.smpp.pdu.DeliverSM

getRegisteredDelivery

public int getRegisteredDelivery()
Specified by:
getRegisteredDelivery in interface net.java.slee.resources.smpp.pdu.DeliverSM

getReplaceIfPresentFlag

public int getReplaceIfPresentFlag()
Specified by:
getReplaceIfPresentFlag in interface net.java.slee.resources.smpp.pdu.DeliverSM

getScheduleDeliveryTime

public net.java.slee.resources.smpp.util.SMPPDate getScheduleDeliveryTime()
Specified by:
getScheduleDeliveryTime in interface net.java.slee.resources.smpp.pdu.DeliverSM

getServiceType

public java.lang.String getServiceType()
Specified by:
getServiceType in interface net.java.slee.resources.smpp.pdu.DeliverSM

getSmDefaultMsgID

public int getSmDefaultMsgID()
Specified by:
getSmDefaultMsgID in interface net.java.slee.resources.smpp.pdu.DeliverSM

getSourceAddress

public net.java.slee.resources.smpp.pdu.Address getSourceAddress()
Specified by:
getSourceAddress in interface net.java.slee.resources.smpp.pdu.DeliverSM

getValidityPeriod

public net.java.slee.resources.smpp.util.SMPPDate getValidityPeriod()
Specified by:
getValidityPeriod in interface net.java.slee.resources.smpp.pdu.DeliverSM

setDataCoding

public void setDataCoding(int dataCoding)
Specified by:
setDataCoding in interface net.java.slee.resources.smpp.pdu.DeliverSM

setEsmClass

public void setEsmClass(int esmClass)
Specified by:
setEsmClass in interface net.java.slee.resources.smpp.pdu.DeliverSM

setDestAddress

public void setDestAddress(net.java.slee.resources.smpp.pdu.Address address)
Specified by:
setDestAddress in interface net.java.slee.resources.smpp.pdu.DeliverSM

getDestAddress

public net.java.slee.resources.smpp.pdu.Address getDestAddress()
Specified by:
getDestAddress in interface net.java.slee.resources.smpp.pdu.DeliverSM

setMessage

public void setMessage(byte[] message)
Specified by:
setMessage in interface net.java.slee.resources.smpp.pdu.DeliverSM

setPriority

public void setPriority(int priority)
Specified by:
setPriority in interface net.java.slee.resources.smpp.pdu.DeliverSM

setProtocolID

public void setProtocolID(int protocolID)
Specified by:
setProtocolID in interface net.java.slee.resources.smpp.pdu.DeliverSM

setRegisteredDelivery

public void setRegisteredDelivery(int registeredDelivery)
Specified by:
setRegisteredDelivery in interface net.java.slee.resources.smpp.pdu.DeliverSM

setReplaceIfPresentFlag

public void setReplaceIfPresentFlag(int replaceIfPresentFlag)
Specified by:
setReplaceIfPresentFlag in interface net.java.slee.resources.smpp.pdu.DeliverSM

setScheduleDeliveryTime

public void setScheduleDeliveryTime(net.java.slee.resources.smpp.util.SMPPDate time)
Specified by:
setScheduleDeliveryTime in interface net.java.slee.resources.smpp.pdu.DeliverSM

setServiceType

public void setServiceType(java.lang.String serviceType)
Specified by:
setServiceType in interface net.java.slee.resources.smpp.pdu.DeliverSM

setSmDefaultMsgID

public void setSmDefaultMsgID(int smDefaultMsgID)
Specified by:
setSmDefaultMsgID in interface net.java.slee.resources.smpp.pdu.DeliverSM

setSourceAddress

public void setSourceAddress(net.java.slee.resources.smpp.pdu.Address address)
Specified by:
setSourceAddress in interface net.java.slee.resources.smpp.pdu.DeliverSM

setValidityPeriod

public void setValidityPeriod(net.java.slee.resources.smpp.util.SMPPDate period)
Specified by:
setValidityPeriod in interface net.java.slee.resources.smpp.pdu.DeliverSM

createSmppResponseEvent

public net.java.slee.resources.smpp.pdu.SmppResponse createSmppResponseEvent(int status)
Specified by:
createSmppResponseEvent in interface net.java.slee.resources.smpp.pdu.SmppRequest

isTLVPermitted

public boolean isTLVPermitted(net.java.slee.resources.smpp.pdu.Tag tag)
Specified by:
isTLVPermitted in interface net.java.slee.resources.smpp.pdu.PDU

getSMPPPacket

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


Copyright © 2010. All Rights Reserved.