Ice.DispatchInterceptorAsyncCallback Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of ice-compat Show documentation
Show all versions of ice-compat Show documentation
Ice is a comprehensive RPC framework that helps you build distributed applications with minimal effort using familiar object-oriented idioms
The newest version!
//
// Copyright (c) ZeroC, Inc. All rights reserved.
//
package Ice;
/**
* The callback object for asynchronous dispatch.
**/
public interface DispatchInterceptorAsyncCallback
{
/**
* Called when the operation succeeded.
*
* @return True to allow the Ice run time to handle the result
* as it normally would, or false if the interceptor has handled
* the operation.
**/
boolean response();
/**
* Called when the operation failed with an exception.
*
* @param ex The exception raised by the operation.
* @return True to allow the Ice run time to handle the result
* as it normally would, or false if the interceptor has handled
* the operation.
**/
boolean exception(java.lang.Exception ex);
}