com.amazonaws.mturk.service.axis
Interface AsyncCallback


public interface AsyncCallback

Interface to get callback notifications from an Axis worker thread to notify the result of a webservice call


Method Summary
 void processFailure(java.lang.Object axisRequestMessage, java.lang.Exception axisFailure)
          Notifies the result of a failed Axis operation
 void processResult(java.lang.Object axisRequestMessage, java.lang.Object axisResult)
          Notifies the result of a successful Axis operation
 

Method Detail

processResult

void processResult(java.lang.Object axisRequestMessage,
                   java.lang.Object axisResult)
Notifies the result of a successful Axis operation

Parameters:
axisRequestMessage - the request message
axisResult - the service response

processFailure

void processFailure(java.lang.Object axisRequestMessage,
                    java.lang.Exception axisFailure)
Notifies the result of a failed Axis operation

Parameters:
axisRequestMessage - the request message
axisFailure - the service failure