mandala.rami
Interface Callback

All Known Implementing Classes:
BenchmarkerCallback, CallbackList, CallbackListeners, CleanerCallback, EmptyCallback, InterrupterCallback, ResultsGrouper, SyslogCallback

public interface Callback

A Callback instance defines the work to do once an asynchronous method invocation had terminated. The call is considered terminated when it had returned either normally (with a return statement), or when it thrown an exception that had been catched and handled.

Since:
1.0
Version:
1.0
Author:
eipi
See Also:
InvocationInfo, MethodResult

Method Summary
 void done(InvocationInfo invocationInfo, MethodResult methodResult)
          This method is called once an asynchronous method invocation had been considered terminated.
 

Method Detail

done

public void done(InvocationInfo invocationInfo,
                 MethodResult methodResult)

This method is called once an asynchronous method invocation had been considered terminated.

Parameters:
invocationInfo - the invocationInfo object representing informations on the asychronous method invocation.
methodResult - the MethodResult object representing the result of the asychronous method invocation.
See Also:
InvocationInfo, MethodResult


Mandala help mailing list