Package org.distributeme.core.asynch
Interface CallBackHandler
- All Known Implementing Classes:
MultiCallCollector.SubCallBackHandler,SingleCallHandler
public interface CallBackHandler
This interface describes objects that are submitted to the asynch call methods.
The asynch stub calls either subject or error on each of the submitted callback handlers.
- Version:
- $Id: $Id
- Author:
- lrosenberg
-
Method Summary
-
Method Details
-
success
Called upon successful execution of a method. If the called method was a void method the parameter o will be null.- Parameters:
o- null or function call result.
-
error
Called upon erroneous execution of a method.- Parameters:
e- exception that occured in the method.
-