public interface ServerSession
Modifier and Type | Method and Description |
---|---|
void |
alertNotification(int sequenceNumber,
TypeOfNumber sourceAddrTon,
NumberingPlanIndicator sourceAddrNpi,
java.lang.String sourceAddr,
TypeOfNumber esmeAddrTon,
NumberingPlanIndicator esmeAddrNpi,
java.lang.String esmeAddr,
OptionalParameter... optionalParameters)
Send alert notification to ESME in order to notify the particular mobile
subscriber has become available.
|
void |
deliverShortMessage(java.lang.String serviceType,
TypeOfNumber sourceAddrTon,
NumberingPlanIndicator sourceAddrNpi,
java.lang.String sourceAddr,
TypeOfNumber destAddrTon,
NumberingPlanIndicator destAddrNpi,
java.lang.String destinationAddr,
ESMClass esmClass,
byte protocoId,
byte priorityFlag,
RegisteredDelivery registeredDelivery,
DataCoding dataCoding,
byte[] shortMessage,
OptionalParameter... optionalParameters)
Submit a short message to specified destination address (ESME).
|
void deliverShortMessage(java.lang.String serviceType, TypeOfNumber sourceAddrTon, NumberingPlanIndicator sourceAddrNpi, java.lang.String sourceAddr, TypeOfNumber destAddrTon, NumberingPlanIndicator destAddrNpi, java.lang.String destinationAddr, ESMClass esmClass, byte protocoId, byte priorityFlag, RegisteredDelivery registeredDelivery, DataCoding dataCoding, byte[] shortMessage, OptionalParameter... optionalParameters) throws PDUException, ResponseTimeoutException, InvalidResponseException, NegativeResponseException, java.io.IOException
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.protocoId
- is the protocol_id.priorityFlag
- is the priority_flag.registeredDelivery
- is the registered_delivery.dataCoding
- is the data_coding.shortMessage
- is the short_message.optionalParameters
- is the optional parameters.PDUException
- if there is invalid PDU parameter found.ResponseTimeoutException
- if timeout has been reach.InvalidResponseException
- if response is invalid.NegativeResponseException
- if negative response received.java.io.IOException
- if there is an I/O error found.void alertNotification(int sequenceNumber, TypeOfNumber sourceAddrTon, NumberingPlanIndicator sourceAddrNpi, java.lang.String sourceAddr, TypeOfNumber esmeAddrTon, NumberingPlanIndicator esmeAddrNpi, java.lang.String esmeAddr, OptionalParameter... optionalParameters) throws PDUStringException, ResponseTimeoutException, InvalidResponseException, NegativeResponseException, java.io.IOException
sequenceNumber
- is the sequence_number.sourceAddrTon
- is the source_addr_ton.sourceAddrNpi
- is the source_addr_npi.sourceAddr
- is the source_addr.esmeAddrTon
- is the esm_addr_ton.esmeAddrNpi
- is the esme_addr_npi.esmeAddr
- is the esme_addr.optionalParameters
- is the optional parameters.PDUStringException
- if there is invalid string found.ResponseTimeoutException
- if timeout has been reach.InvalidResponseException
- if response is invalid.NegativeResponseException
- if negative response received.java.io.IOException
- if there is an I/O error found.