better time delay in command execution.
[vamsas.git] / src / org / vamsas / client / SimpleClient.java
index 90e394f..e70ffec 100644 (file)
@@ -37,10 +37,10 @@ public class SimpleClient implements IClient {
   SessionHandle session = null;
 
   ClientHandle client = null;
-
+  
   /*
    * (non-Javadoc)
-   * 
+   * TODO: check that build substitution variables are correct
    * @see org.vamsas.client.IClient#getAbout()
    */
   public String getAbout() {
@@ -123,7 +123,11 @@ public class SimpleClient implements IClient {
    * @see org.vamsas.client.IClient#finalizeClient()
    */
   public void finalizeClient() {
-    // TODO: raise events
+    // TODO: determine if this is last client in session
+    // TODO: raise events like : ((lst_client && document.request.to.close), (client_finalization), (
+    
+    // if (handlers.containsKey(Events.))
+    // if (handlers.containsKey(Events.CLIENT_FINALIZATION))
     // deregister listeners.
     // mark this instance as finalized
   }
@@ -348,4 +352,12 @@ private static Object[] getVamsasDocument(Reader instream,
 
   public static void main(String[] args) {
   }
+
+  /* (non-Javadoc)
+   * @see org.vamsas.client.IClient#joinSession()
+   */
+  public void joinSession() throws Exception {
+    // TODO Auto-generated method stub
+    
+  }
 }