summaryrefslogtreecommitdiffstats
path: root/sandbox/jboynes/sca-client/src/main/java/org/osoa/sca/CallbackReference.java
diff options
context:
space:
mode:
Diffstat (limited to 'sandbox/jboynes/sca-client/src/main/java/org/osoa/sca/CallbackReference.java')
-rw-r--r--sandbox/jboynes/sca-client/src/main/java/org/osoa/sca/CallbackReference.java27
1 files changed, 27 insertions, 0 deletions
diff --git a/sandbox/jboynes/sca-client/src/main/java/org/osoa/sca/CallbackReference.java b/sandbox/jboynes/sca-client/src/main/java/org/osoa/sca/CallbackReference.java
new file mode 100644
index 0000000000..bbcf154c6a
--- /dev/null
+++ b/sandbox/jboynes/sca-client/src/main/java/org/osoa/sca/CallbackReference.java
@@ -0,0 +1,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();
+}