diff options
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.java | 20 |
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(); +} |