added simple semaphore file mechanism for session directory.
[vamsas.git] / src / org / vamsas / client / Events.java
index babd39c..c1b80e0 100644 (file)
@@ -16,8 +16,8 @@ public class Events {
   /**
    * Generated when a new vamsas document is created (perhaps from some existing
    * Vamsas data) so an application may do its own data space initialization.
-   * TODO: decide if this is called when an app is connected to a stored
-   * session...
+   * Raised for a new application connecting to a vamsas document 
+   * which contains no existing data for that application.
    */
   public static final String DOCUMENT_CREATE = "org.vamsas.client.events.documentCreateEvent";
 
@@ -52,9 +52,9 @@ public class Events {
 
   /**
    * Generated by Vorba stub for the sole remaining client, after the penultimate 
-   * client makes a call to finalizeClient(). It is only raised if the session has been modifies since the 
+   * client makes a call to finalizeClient(). It is only raised if the session has been modified since the 
    * last call to storeDocument() by any application.
-   * TODO: LATER: copies of a document should be on a per-user basis for multi-user sessions. 
+   * LATER: copies of a document should be on a per-user basis for multi-user sessions. 
    *  Sequence is as follows : 1. All other vamsas clients have
    * called finalizeClient() 2. Final living client monitors closures, and
    * realises that it is last. 3. Final client generates event to prompt