Class MultiCallCollector.SubCallBackHandler

java.lang.Object
org.distributeme.core.asynch.MultiCallCollector.SubCallBackHandler
All Implemented Interfaces:
CallBackHandler
Enclosing class:
MultiCallCollector

public static class MultiCallCollector.SubCallBackHandler extends Object implements CallBackHandler
An instance of this class is used as a call handler for each subcall.
Author:
lrosenberg
  • Constructor Details

    • SubCallBackHandler

      public SubCallBackHandler(MultiCallCollector aParent)
      Creates a new subcallbackhandler.
      Parameters:
      aParent -
  • Method Details

    • success

      public void success(Object o)
      Description copied from interface: CallBackHandler
      Called upon successful execution of a method. If the called method was a void method the parameter o will be null.
      Specified by:
      success in interface CallBackHandler
      Parameters:
      o - null or function call result.
    • error

      public void error(Exception e)
      Description copied from interface: CallBackHandler
      Called upon erroneous execution of a method.
      Specified by:
      error in interface CallBackHandler
      Parameters:
      e - exception that occured in the method.