typo fix.
[vamsas.git] / src / org / vamsas / client / IClient.java
index cebed2a..6c077db 100644 (file)
@@ -104,4 +104,14 @@ public interface IClient {
      *
      */
     public void pollUpdate();
+    
+    /**
+     * Client application calls this after any pre-session initialization 
+     * (registering of Handlers, etc)
+     * Exceptions are raised for any failures. Any stateful calls to the session prior to
+     * this will result in an implicit call to joinSession - if that results in an exception
+     * then the VamsasClient should raise an Error.
+     * TODO: create VAMSAS exception hierarchy (in a language agnostic manner)
+     */
+    public void joinSession() throws Exception;
 }