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

    Modifier and Type
    Method
    Description
    void
    Called upon erroneous execution of a method.
    void
    Called upon successful execution of a method.
  • Method Details

    • success

      void success(Object o)
      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

      void error(Exception e)
      Called upon erroneous execution of a method.
      Parameters:
      e - exception that occured in the method.