public interface OutgoingSmppRequestActivity extends SmppActivity
An outgoing request activity, created by an SBB to send an SMPP request. The SBB must attach to the activity to receive the response event. The activity ends after the response event has been processed.
Modifier and Type | Method and Description |
---|---|
int |
sendRequest(Request request)
Send an SMPP request to the peer on the SMPP session.
|
getSession
int sendRequest(Request request) throws SmppSendException
Send an SMPP request to the peer on the SMPP session. The request
object is any PDU that is a subclass of Request. The sequence number in the PDU is automatically set to the next available sequence number in the session, and returned to the caller.
request
- the SMPP request PDU to sendSmppSendException
- if an error occurs sending the request