Interface OutgoingSmppRequestActivity
-
- All Superinterfaces:
SmppActivity
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.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description int
sendRequest(Request request)
Send an SMPP request to the peer on the SMPP session.-
Methods inherited from interface com.opencloud.slee.resources.smpp.SmppActivity
getSession
-
-
-
-
Method Detail
-
sendRequest
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.- Parameters:
request
- the SMPP request PDU to send- Returns:
- the sequence number assigned by the stack to this request
- Throws:
SmppSendException
- if an error occurs sending the request
-
-