All Downloads are FREE. Search and download functionalities are using the official Maven repository.

Ice.DispatchInterceptorAsyncCallback Maven / Gradle / Ivy

Go to download

Ice is a comprehensive RPC framework that helps you build distributed applications with minimal effort using familiar object-oriented idioms

There is a newer version: 3.7.10
Show 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);
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy