2 * org.vamsas.client.Iclient
5 package org.vamsas.client;
8 * Define the methods availabable to a vamsas
9 * application for interacting with the vamsas
11 * (it's VORBA, not CORBA!)
14 * static methods for returning a new instance
15 * of vorba with or without a session urn.
17 Iclient getVorba(String ApplicationHandle);
18 Iclient getVorba(String ApplicationHandle, String SessionUrn);
20 * Extend to multi-user. By default is to use current username
22 * Iclient getVorba(String ApplicationHandle, String UserUrn);
29 * Return current SessionUrni
31 String getSessionUrn();
33 * get vamsas document with app specific data
35 VamsasClientDocument getDocument();
37 * register handler for updates for the current session
39 void addDocumentUpdateHandler(java.util.EventHandler evt);
41 * Self-documenting/describing info for presenting to user
42 * returns string like VamsasClient v.1.1.1 (GPL) and whatever
44 String getAboutVamsasClient();
46 void closeVamsasDocument();