summaryrefslogtreecommitdiff
path: root/java/src/Ice/AMI_Object_ice_flushBatchRequests.java
blob: e213ed22fe2feaebbe34858b35f7e452546f3b44 (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
39
40
// **********************************************************************
//
// 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#.ice_flushBatchRequests_async}.
 **/
public abstract class AMI_Object_ice_flushBatchRequests extends Callback_Object_ice_flushBatchRequests
{
    /**
     * Indicates to the caller that a call to <code>ice_flushBatchRequests_async</code>
     * raised an Ice run-time exception.
     *
     * @param ex The run-time exception that was raised.
     *
     * @see ObjectPrx#ice_flushBatchRequests_async
     **/
    public abstract void ice_exception(LocalException ex);

    public final void exception(LocalException ex)
    {
        ice_exception(ex);
    }

    @Override
    public final void sent(boolean sentSynchronously)
    {
        if(sentSynchronously && this instanceof AMISentCallback)
        {
            ((AMISentCallback)this).ice_sent();
        }
    }
}