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

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

public class BroadcastSMImpl
extends PDUImpl
implements BroadcastSM, 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
BroadcastSMImpl(org.mobicents.protocols.smpp.message.BroadcastSM broadcastSM)
           
BroadcastSMImpl(long sequenceNumber)
           
 
Method Summary
 SmppResponse createSmppResponseEvent(int status)
           
 int getDataCoding()
           
 Address getEsmeAddress()
           
 java.lang.String getMessageID()
           
 int getPriority()
           
 int getReplaceIfPresentFlag()
           
 SMPPDate getScheduleDeliveryTime()
           
 java.lang.String getServiceType()
           
 int getSmDefaultMsgID()
           
 org.mobicents.protocols.smpp.message.SMPPPacket getSMPPPacket()
           
 SMPPDate getValidityPeriod()
           
 boolean isTLVPermitted(Tag tag)
           
 void setDataCoding(int dataCoding)
           
 void setEsmeAddress(Address address)
           
 void setMessageID(java.lang.String messageID)
           
 void setPriority(int priority)
           
 void setReplaceIfPresentFlag(int replaceIfPresentFlag)
           
 void setScheduleDeliveryTime(SMPPDate time)
           
 void setServiceType(java.lang.String serviceType)
           
 void setSmDefaultMsgID(int smDefaultMsgID)
           
 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

BroadcastSMImpl

public BroadcastSMImpl(org.mobicents.protocols.smpp.message.BroadcastSM broadcastSM)

BroadcastSMImpl

public BroadcastSMImpl(long sequenceNumber)
Method Detail

getDataCoding

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

getEsmeAddress

public Address getEsmeAddress()
Specified by:
getEsmeAddress in interface BroadcastSM

getMessageID

public java.lang.String getMessageID()
Specified by:
getMessageID in interface BroadcastSM

getPriority

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

getReplaceIfPresentFlag

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

getScheduleDeliveryTime

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

getServiceType

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

getSmDefaultMsgID

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

getValidityPeriod

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

setDataCoding

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

setEsmeAddress

public void setEsmeAddress(Address address)
Specified by:
setEsmeAddress in interface BroadcastSM

setMessageID

public void setMessageID(java.lang.String messageID)
Specified by:
setMessageID in interface BroadcastSM

setPriority

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

setReplaceIfPresentFlag

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

setScheduleDeliveryTime

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

setServiceType

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

setSmDefaultMsgID

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

setValidityPeriod

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

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.