1 package org.vamsas.client;
3 * Enumerates the event types generated
4 * during the lifecycle of a Vamsas session.
9 * Generated when a client has finished updating the document.
10 * Passes applicationHandle of client so the updating client can recognise its own updates.
12 public static final String DOCUMENT_UPDATE="org.vamsas.client.documentUpdateEvent";
14 * Generated when a new vamsas document is created
15 * so an application may do its own data space initialization
17 public static final String DOCUMENT_CREATE="org.vamsas.client.documentCreateEvent";
19 * Generated when a new vamsas client is attached to a session (Handle is passed)
20 * Note: the newly created client does not receive the event.
22 public static final String CLIENT_CREATION="org.vamsas.client.clientCreateEvent";
24 * Generated when a vamsas client leaves a session (Handle is passed).
26 public static final String CLIENT_FINALIZATION="org.vamsas.client.clientFinalizationEvent";
28 * Generated prior to session Shutdown, after the last participating vamsas client has finalized.
30 public static final String SESSION_SHUTDOWN="org.vamsas.client.SessionShutdownEvent";
32 * Generated by Vorba stub after the penultimate client makes a call to closeDocument().
33 * Sequence is as follows :
34 * 1. All other vamsas clients have called closeDocument()
35 * 2. Final living client monitors closures, and realises that it is last.
36 * 3. Final client generates event to prompt associated application to inquire if
37 * the user wishes to save the document for future reference.
39 * * Any call to closeDocument in a thread other than the registered EventListener
40 * will block until the RequestToClose handler has exited.
43 public static final String DOCUMENT_REQUESTTOCLOSE="org.vamas.client.DocumentRequestToCloseEvent";