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()
SubmitSm
getCommand
in interface SubmitSm
public String getServiceType()
SubmitSm
getServiceType
in interface SubmitSm
public Address getSourceAddress()
SubmitSm
getSourceAddress
in interface SubmitSm
public Address getDestAddress()
SubmitSm
getDestAddress
in interface SubmitSm
public byte getEsmClass()
SubmitSm
getEsmClass
in interface SubmitSm
public byte getRegisteredDelivery()
SubmitSm
getRegisteredDelivery
in interface SubmitSm
public byte getDataCoding()
SubmitSm
getDataCoding
in interface SubmitSm
public byte[] getShortMessage()
SubmitSm
getShortMessage
in interface SubmitSm
public int getShortMessageLength()
SubmitSm
getShortMessageLength
in interface SubmitSm
public OptionalParameter getOptionalParameter(Tag tag)
SubmitSm
getOptionalParameter
in interface SubmitSm
tag
- the tag of the optional parameterpublic List<OptionalParameter> getOptionalParameters()
SubmitSm
getOptionalParameters
in interface SubmitSm
public byte getPriorityFlag()
SubmitSm
getPriorityFlag
in interface SubmitSm
public byte getProtocolId()
SubmitSm
getProtocolId
in interface SubmitSm
public byte getReplaceIfPresentFlag()
SubmitSm
getReplaceIfPresentFlag
in interface SubmitSm
public String getScheduleDeliveryTime()
SubmitSm
getScheduleDeliveryTime
in interface SubmitSm
public byte getSmDefaultMsgId()
SubmitSm
getSmDefaultMsgId
in interface SubmitSm
public String getValidityPeriod()
SubmitSm
getValidityPeriod
in interface SubmitSm
Copyright © 2021. All rights reserved.