summaryrefslogtreecommitdiffstats
path: root/sandbox/jboynes/sca-client/src/main/java/org/osoa/sca/CallbackReference.java
blob: bbcf154c6a7b832741fc64c1d90f77bc1eb6eaaf (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
package org.osoa.sca;

/**
 * @version $Rev$ $Date$
 */
public interface CallbackReference<CB> {
    /**
     * Return a proxy that can be used to invoke the callback instance associated with this reference.
     *
     * @return a proxy that can be used to invoke the callback
     */
    CB getCallback();

    /**
     * Returns the conversation associated with this callback.
     *
     * @return the conversation associated with this callback
     */
    Conversation getConversation();

    /**
     * Returns the callback ID.
     *
     * @return the callback ID
     */
    Object getCallbackID();
}