public interface Gateway
| Modifier and Type | Method and Description |
|---|---|
String |
submitShortMessage(String serviceType,
org.jsmpp.bean.TypeOfNumber sourceAddrTon,
org.jsmpp.bean.NumberingPlanIndicator sourceAddrNpi,
String sourceAddr,
org.jsmpp.bean.TypeOfNumber destAddrTon,
org.jsmpp.bean.NumberingPlanIndicator destAddrNpi,
String destinationAddr,
org.jsmpp.bean.ESMClass esmClass,
byte protocolId,
byte priorityFlag,
String scheduleDeliveryTime,
String validityPeriod,
org.jsmpp.bean.RegisteredDelivery registeredDelivery,
byte replaceIfPresentFlag,
org.jsmpp.bean.DataCoding dataCoding,
byte smDefaultMsgId,
byte[] shortMessage,
org.jsmpp.bean.OptionalParameter... optionalParameters)
Submit the short message.
|
String submitShortMessage(String serviceType, org.jsmpp.bean.TypeOfNumber sourceAddrTon, org.jsmpp.bean.NumberingPlanIndicator sourceAddrNpi, String sourceAddr, org.jsmpp.bean.TypeOfNumber destAddrTon, org.jsmpp.bean.NumberingPlanIndicator destAddrNpi, String destinationAddr, org.jsmpp.bean.ESMClass esmClass, byte protocolId, byte priorityFlag, String scheduleDeliveryTime, String validityPeriod, org.jsmpp.bean.RegisteredDelivery registeredDelivery, byte replaceIfPresentFlag, org.jsmpp.bean.DataCoding dataCoding, byte smDefaultMsgId, byte[] shortMessage, org.jsmpp.bean.OptionalParameter... optionalParameters) throws org.jsmpp.PDUException, org.jsmpp.extra.ResponseTimeoutException, org.jsmpp.InvalidResponseException, org.jsmpp.extra.NegativeResponseException, IOException
SMPPSession.submitShortMessage(String, TypeOfNumber, NumberingPlanIndicator, String, TypeOfNumber, NumberingPlanIndicator, String, ESMClass, byte, byte, String, String, RegisteredDelivery, byte, DataCoding, byte, byte[], OptionalParameter...).serviceType - is the service_type.sourceAddrTon - is the source_addr_ton.sourceAddrNpi - is the source_addr_npi.sourceAddr - is the source_addr.destAddrTon - is the dest_addr_ton.destAddrNpi - is the dest_addr_npi.destinationAddr - is the destination_addr.esmClass - is the esm_class.protocolId - is the protocol_id.priorityFlag - is the priority_flag.scheduleDeliveryTime - is the schedule_delivery_time.validityPeriod - is the validity_period.registeredDelivery - is the registered_delivery.replaceIfPresentFlag - is the replace_if_present_flag.dataCoding - is the data_coding.smDefaultMsgId - is the sm_default_msg_id.shortMessage - is the short_message.optionalParameters - is the optional parameters.org.jsmpp.PDUException - if there is invalid PDU parameter found..org.jsmpp.extra.ResponseTimeoutException - if timeout has been reach.org.jsmpp.InvalidResponseException - if response is invalid.org.jsmpp.extra.NegativeResponseException - if negative response received.IOException - if there is an I/O error found.Copyright © 2025 WSO2. All rights reserved.