|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ServerSession
This interface provides all operation that the server session can do. It doesn't distinct the operation of specific session type (Transmitter, Receiver) it's just like Transceiver. The distinction might should be recognized in a different way, such as by user code when they are accepting bind request or by throwing exception when invoking illegal operation.
Method Summary | |
---|---|
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). |
Method Detail |
---|
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.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |