summaryrefslogtreecommitdiff
path: root/java/src/Ice/Callback_Object_ice_isA.java
blob: 6b13c145a203e952fe47cf5acd3da2d2b997c945 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
// **********************************************************************
//
// Copyright (c) 2003-2009 ZeroC, Inc. All rights reserved.
//
// This copy of Ice is licensed to you under the terms described in the
// ICE_LICENSE file included in this distribution.
//
// **********************************************************************

package Ice;

/**
 * Callback object for {@link ObjectPrx#.begin_ice_isA}.
 **/
public abstract class Callback_Object_ice_isA extends TwowayCallback
{
    /**
     * Called when the invocation completes successfully.
     *
     * @param __ret True if the target object supports the given interface, false otherwise.
     **/
    public abstract void response(boolean __ret);

    public final void __completed(AsyncResult __result)
    {
        boolean __ret = false;
        try
        {
            __ret = __result.getProxy().end_ice_isA(__result);
        }
        catch(LocalException __ex)
        {
            exception(__ex);
            return;
        }
        response(__ret);
    }
}