| Modifier and Type | Field and Description |
|---|---|
protected org.jsmpp.bean.SubmitSm |
original |
| Constructor and Description |
|---|
SubmitSmAdapter(org.jsmpp.bean.SubmitSm original) |
| Modifier and Type | Method and Description |
|---|---|
Command |
getCommand()
Get information relative to the command (command id, command length,
command status and sequence number)
|
byte |
getDataCoding()
Get the 'data_coding' field
|
Address |
getDestAddress()
Specifies the destination SME address.
|
byte |
getEsmClass()
The 'esm_class' parameter is used to indicate special message attributes
associated with the short message.
|
OptionalParameter |
getOptionalParameter(Tag tag)
Get Optional Parameter that matches the specified tag.
|
List<OptionalParameter> |
getOptionalParameters()
Get the list of all Optional Parameters.
|
byte |
getPriorityFlag()
The priority_flag parameter allows the originating SME to assign a
priority level to the short message.
|
byte |
getProtocolId()
GSM
Set according to GSM 03.40 [GSM 03.40]
ANSI-136 (TDMA)
For mobile terminated messages, this field is not used and is therefore
ignored by the SMSC.
|
byte |
getRegisteredDelivery()
The registered_delivery parameter is used to request an SMSC delivery
receipt and/or SME originated acknowledgements.
|
byte |
getReplaceIfPresentFlag()
The replace_if_present_flag parameter is used to request the SMSC to
replace a previously submitted message, that is still pending delivery.
|
String |
getScheduleDeliveryTime()
This parameter specifies the scheduled time at which the message delivery
should be first attempted.
|
String |
getServiceType()
The service_type parameter can be used to indicate the SMS Application
service associated with the message.
|
byte[] |
getShortMessage()
The short_message parameter contains the user data.
|
int |
getShortMessageLength()
The sm_length parameter specifies the length of the short_message
parameter in octets.
|
byte |
getSmDefaultMsgId()
The sm_default_msg_id parameter specifies the SMSC index of a pre-defined
('canned') message.
|
Address |
getSourceAddress()
Specifies the address of SME which originated this message.
|
String |
getValidityPeriod()
The validity_period parameter indicates the SMSC expiration time, after
which the message should be discarded if not delivered to the
destination.
|
boolean |
isUdhi()
Specific Features.
|
public SubmitSmAdapter(org.jsmpp.bean.SubmitSm original)
original - the JSMPP SubmitSm to adaptpublic Command getCommand()
SubmitSmgetCommand in interface SubmitSmpublic String getServiceType()
SubmitSmgetServiceType in interface SubmitSmpublic Address getSourceAddress()
SubmitSmgetSourceAddress in interface SubmitSmpublic Address getDestAddress()
SubmitSmgetDestAddress in interface SubmitSmpublic byte getEsmClass()
SubmitSmgetEsmClass in interface SubmitSmpublic byte getRegisteredDelivery()
SubmitSmgetRegisteredDelivery in interface SubmitSmpublic byte getDataCoding()
SubmitSmgetDataCoding in interface SubmitSmpublic byte[] getShortMessage()
SubmitSmgetShortMessage in interface SubmitSmpublic int getShortMessageLength()
SubmitSmgetShortMessageLength in interface SubmitSmpublic OptionalParameter getOptionalParameter(Tag tag)
SubmitSmgetOptionalParameter in interface SubmitSmtag - the tag of the optional parameterpublic List<OptionalParameter> getOptionalParameters()
SubmitSmgetOptionalParameters in interface SubmitSmpublic byte getPriorityFlag()
SubmitSmgetPriorityFlag in interface SubmitSmpublic byte getProtocolId()
SubmitSmgetProtocolId in interface SubmitSmpublic byte getReplaceIfPresentFlag()
SubmitSmgetReplaceIfPresentFlag in interface SubmitSmpublic String getScheduleDeliveryTime()
SubmitSmgetScheduleDeliveryTime in interface SubmitSmpublic byte getSmDefaultMsgId()
SubmitSmgetSmDefaultMsgId in interface SubmitSmpublic String getValidityPeriod()
SubmitSmgetValidityPeriod in interface SubmitSmCopyright © 2021. All rights reserved.