summaryrefslogtreecommitdiffstats
path: root/sandbox/jboynes/sca-client/src/main/java/org/osoa/sca/Conversation.java
diff options
context:
space:
mode:
authordims <dims@13f79535-47bb-0310-9956-ffa450edef68>2008-06-17 00:23:01 +0000
committerdims <dims@13f79535-47bb-0310-9956-ffa450edef68>2008-06-17 00:23:01 +0000
commitbdd0a41aed7edf21ec2a65cfa17a86af2ef8c48a (patch)
tree38a92061c0793434c4be189f1d70c3458b6bc41d /sandbox/jboynes/sca-client/src/main/java/org/osoa/sca/Conversation.java
Move Tuscany from Incubator to top level.
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@668359 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'sandbox/jboynes/sca-client/src/main/java/org/osoa/sca/Conversation.java')
-rw-r--r--sandbox/jboynes/sca-client/src/main/java/org/osoa/sca/Conversation.java20
1 files changed, 20 insertions, 0 deletions
diff --git a/sandbox/jboynes/sca-client/src/main/java/org/osoa/sca/Conversation.java b/sandbox/jboynes/sca-client/src/main/java/org/osoa/sca/Conversation.java
new file mode 100644
index 0000000000..37073adc77
--- /dev/null
+++ b/sandbox/jboynes/sca-client/src/main/java/org/osoa/sca/Conversation.java
@@ -0,0 +1,20 @@
+package org.osoa.sca;
+
+/**
+ * @version $Rev$ $Date$
+ */
+public interface Conversation {
+ /**
+ * Returns the identifier for this conversation.
+ * If a user-defined identity had been supplied for this reference then its value will be returned;
+ * otherwise the identity generated by the system when the conversation was initiated will be returned.
+ *
+ * @return the identifier for this conversation
+ */
+ Object getConversionID();
+
+ /**
+ * End this conversation.
+ */
+ void end();
+}