summaryrefslogtreecommitdiff
path: root/java/src/Ice/AMISentCallback.java
blob: e8c10cb9538e6d371147b24eed5f4bb50a4d7372 (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
// **********************************************************************
//
// Copyright (c) 2003-2012 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 interface for AMI invocations. This is useful
 * for applications that send asynchronous invocations that
 * might not be sent for some time and, therefore, are
 * queued in the Ice run time for transmission.
 * <p>
 * The Ice run time calls <code>ice_sent</code> if an
 * an AMI invocation cannot be written to transport and was
 * queued for later transmission. Applications that need to
 * implement flow control for AMI invocations can implement
 * this interface on the corresponding AMI callback object.
 **/
public interface AMISentCallback
{
    /**
     * Indicates to the caller of an AMI operation that
     * the invocation was queued for later transmission.
     **/
    void ice_sent();
};