org.jsmpp.session
Interface ResponseHandler

All Superinterfaces:
BaseResponseHandler

public interface ResponseHandler
extends BaseResponseHandler

ResponseHandler provide interface to handle response of the session routines.

Since:
2.0
Version:
1.0
Author:
uudashr

Method Summary
 void processAlertNotification(AlertNotification alertNotification)
           
 void processDeliverSm(DeliverSm deliverSm)
          Process the deliver
 void sendDeliverSmResp(int sequenceNumber)
          Response by sending DELIVER_SM_RESP to SMSC.
 
Methods inherited from interface org.jsmpp.session.BaseResponseHandler
notifyUnbonded, processDataSm, removeSentItem, sendDataSmResp, sendEnquireLinkResp, sendGenerickNack, sendNegativeResponse, sendUnbindResp
 

Method Detail

processDeliverSm

void processDeliverSm(DeliverSm deliverSm)
                      throws ProcessRequestException
Process the deliver

Parameters:
deliverSm -
Throws:
ProcessRequestException

sendDeliverSmResp

void sendDeliverSmResp(int sequenceNumber)
                       throws java.io.IOException
Response by sending DELIVER_SM_RESP to SMSC.

Parameters:
sequenceNumber - is the sequence number of original DELIVER_SM request.
Throws:
java.io.IOException - if an IO error occur.

processAlertNotification

void processAlertNotification(AlertNotification alertNotification)