org.jsmpp.bean
Class MessageRequest
java.lang.Object
org.jsmpp.bean.Command
org.jsmpp.bean.AbstractSmCommand
org.jsmpp.bean.MessageRequest
- Direct Known Subclasses:
- DeliverSm, SubmitSm
public class MessageRequest
- extends AbstractSmCommand
- Author:
- uudashr
Fields inherited from class org.jsmpp.bean.AbstractSmCommand |
dataCoding, destAddress, destAddrNpi, destAddrTon, esmClass, optionalParametes, registeredDelivery, serviceType, sourceAddr, sourceAddrNpi, sourceAddrTon |
Methods inherited from class org.jsmpp.bean.AbstractSmCommand |
cleanMessageType, cleanMessagingMode, cleanSmeAck, cleanSmscDeliveryReceipt, cleanSpecificFeatures, composeDefaultMessageType, composeMessageType, composeMessagingMode, composeReplyPath, composeSmeAck, composeSmscDelReceipt, composeSpecificFeatures, composeUdhi, composeUdhiAndReplyPath, getDataCoding, getDestAddress, getDestAddrNpi, getDestAddrTon, getEsmClass, getOptionalParametes, getRegisteredDelivery, getServiceType, getSourceAddr, getSourceAddrNpi, getSourceAddrTon, isDefaultMessageType, isDefaultMessageType, isMessageType, isMessagingMode, isReplyPath, isReplyPath, isSmeAck, isSmscDeliveryReceipt, isSpecificFeatures, isUdhi, isUdhi, isUdhiAndReplyPath, isUdhiAndReplyPath, setDataCoding, setDefaultMessageType, setDestAddress, setDestAddrNpi, setDestAddrTon, setEsmClass, setOptionalParametes, setRegisteredDelivery, setReplyPath, setServiceType, setSourceAddr, setSourceAddrNpi, setSourceAddrTon, setUdhi, setUdhiAndReplyPath |
Methods inherited from class org.jsmpp.bean.Command |
getCommandId, getCommandIdAsHex, getCommandLength, getCommandStatus, getCommandStatusAsHex, getSequenceNumber, setCommandId, setCommandLength, setCommandStatus, setSequenceNumber, toString |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
protocolId
protected byte protocolId
priorityFlag
protected byte priorityFlag
scheduleDeliveryTime
protected java.lang.String scheduleDeliveryTime
validityPeriod
protected java.lang.String validityPeriod
replaceIfPresent
protected byte replaceIfPresent
smDefaultMsgId
protected byte smDefaultMsgId
shortMessage
protected byte[] shortMessage
MessageRequest
public MessageRequest()
getPriorityFlag
public byte getPriorityFlag()
- Returns:
- the priorityFlag
setPriorityFlag
public void setPriorityFlag(byte priorityFlag)
- Parameters:
priorityFlag
- the priorityFlag to set
getProtocolId
public byte getProtocolId()
- Returns:
- the protocolId
setProtocolId
public void setProtocolId(byte protocolId)
- Parameters:
protocolId
- the protocolId to set
getReplaceIfPresent
public byte getReplaceIfPresent()
- Returns:
- the replaceIfPresent
setReplaceIfPresent
public void setReplaceIfPresent(byte replaceIfPresent)
- Parameters:
replaceIfPresent
- the replaceIfPresent to set
getScheduleDeliveryTime
public java.lang.String getScheduleDeliveryTime()
- Returns:
- the scheduleDeliveryTime
setScheduleDeliveryTime
public void setScheduleDeliveryTime(java.lang.String scheduleDeliveryTime)
- Parameters:
scheduleDeliveryTime
- the scheduleDeliveryTime to set
getShortMessage
public byte[] getShortMessage()
- Returns:
- the shortMessage
setShortMessage
public void setShortMessage(byte[] shortMessage)
- Parameters:
shortMessage
- the shortMessage to set
getSmDefaultMsgId
public byte getSmDefaultMsgId()
- Returns:
- the smDefaultMsgId
setSmDefaultMsgId
public void setSmDefaultMsgId(byte smDefaultMsgId)
- Parameters:
smDefaultMsgId
- the smDefaultMsgId to set
getValidityPeriod
public java.lang.String getValidityPeriod()
- Returns:
- the validityPeriod
setValidityPeriod
public void setValidityPeriod(java.lang.String validityPeriod)
- Parameters:
validityPeriod
- the validityPeriod to set
hashCode
public int hashCode()
- Overrides:
hashCode
in class AbstractSmCommand
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equals
in class AbstractSmCommand