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, DeliverSM, PDU, SmppRequest, ExtSmppRequest

public class DeliverSMImpl
extends PDUImpl
implements 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
 SmppResponse createSmppResponseEvent(int status)
           
 int getDataCoding()
           
 Address getDestAddress()
           
 int getEsmClass()
           
 byte[] getMessage()
           
 int getPriority()
           
 int getProtocolID()
           
 int getRegisteredDelivery()
           
 int getReplaceIfPresentFlag()
           
 SMPPDate getScheduleDeliveryTime()
           
 java.lang.String getServiceType()
           
 int getSmDefaultMsgID()
           
 org.mobicents.protocols.smpp.message.SMPPPacket getSMPPPacket()
           
 Address getSourceAddress()
           
 SMPPDate getValidityPeriod()
           
 boolean isTLVPermitted(Tag tag)
           
 void setDataCoding(int dataCoding)
           
 void setDestAddress(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(SMPPDate time)
           
 void setServiceType(java.lang.String serviceType)
           
 void setSmDefaultMsgID(int smDefaultMsgID)
           
 void setSourceAddress(Address address)
           
 void setValidityPeriod(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 DeliverSM

getEsmClass

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

getMessage

public byte[] getMessage()
Specified by:
getMessage in interface DeliverSM

getPriority

public int getPriority()
Specified by:
getPriority in interface DeliverSM

getProtocolID

public int getProtocolID()
Specified by:
getProtocolID in interface DeliverSM

getRegisteredDelivery

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

getReplaceIfPresentFlag

public int getReplaceIfPresentFlag()
Specified by:
getReplaceIfPresentFlag in interface DeliverSM

getScheduleDeliveryTime

public SMPPDate getScheduleDeliveryTime()
Specified by:
getScheduleDeliveryTime in interface DeliverSM

getServiceType

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

getSmDefaultMsgID

public int getSmDefaultMsgID()
Specified by:
getSmDefaultMsgID in interface DeliverSM

getSourceAddress

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

getValidityPeriod

public SMPPDate getValidityPeriod()
Specified by:
getValidityPeriod in interface DeliverSM

setDataCoding

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

setEsmClass

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

setDestAddress

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

getDestAddress

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

setMessage

public void setMessage(byte[] message)
Specified by:
setMessage in interface DeliverSM

setPriority

public void setPriority(int priority)
Specified by:
setPriority in interface DeliverSM

setProtocolID

public void setProtocolID(int protocolID)
Specified by:
setProtocolID in interface DeliverSM

setRegisteredDelivery

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

setReplaceIfPresentFlag

public void setReplaceIfPresentFlag(int replaceIfPresentFlag)
Specified by:
setReplaceIfPresentFlag in interface DeliverSM

setScheduleDeliveryTime

public void setScheduleDeliveryTime(SMPPDate time)
Specified by:
setScheduleDeliveryTime in interface DeliverSM

setServiceType

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

setSmDefaultMsgID

public void setSmDefaultMsgID(int smDefaultMsgID)
Specified by:
setSmDefaultMsgID in interface DeliverSM

setSourceAddress

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

setValidityPeriod

public void setValidityPeriod(SMPPDate period)
Specified by:
setValidityPeriod in interface DeliverSM

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.