net.sf.crispy.concurrent
Interface AsynchronousCallback


public interface AsynchronousCallback

Interface for asynchronous service invocation.

Since:
Version 1.0
Author:
Linke

Method Summary
 void handleError(java.lang.Throwable pvThrowable, java.lang.String pvMethodName)
          Problems by executed the method.
 void handleResult(java.lang.Object pvResult, java.lang.String pvMethodName)
          Method is successful executed.
 

Method Detail

handleError

public void handleError(java.lang.Throwable pvThrowable,
                        java.lang.String pvMethodName)
Problems by executed the method. A exception is thrown.

Parameters:
pvThrowable - The Exception (problem).
pvMethodName - Name from method.

handleResult

public void handleResult(java.lang.Object pvResult,
                         java.lang.String pvMethodName)
Method is successful executed.

Parameters:
pvResult - Result value.
pvMethodName - Name from method


Copyright © 2005-2006 Crispy. All Rights Reserved.