Package uk.ac.vamsas.client.simpleclient

Interface Summary
WatcherCallBack Interface for VamsasFileWatcherElement call back events generated by the VamsasFileWatcherThread.
 

Class Summary
ArchiveUrn Vamsas Document URN for files understood by ArchiveReader and written by VamsasArchive.
ClientDocument Maintains a collection of vamsas objects, appdatas and states, and provides api for a SimpleClient's client.
ClientSessionFileWatcherElement  
ClientsFile Handler for the clientsFile within a vamsas session thread.
EventGeneratorThread monitors watcher objects and generates events.
FileLock File based Locking mechanism to get around some bizarre limitations of JarEntry seeking.
FileWatcher Watches a particular file for its creation, deletion, or modification.
IdFactory Simplest VorbaId constructor
ListFile base class for generic list storage and retrieval operations from a locked IO file TODO: LATER: generalize for all list storage and retrieval operations (pull-up from ClientsFile object)
Lock transient object representing a file lock This lock should hold for all processes interacting in a session.
LockedFileOutputStream  
LockFactory  
NativeLock  
SessionFile Basic methods for classes handling locked IO on files monitored by all (simpleclient) clients in a vamsas session.
SessionFileWatcherElement Element of the VamsasFileWatcherThread event generator chain.
SessionFlagFile methods for setting and checking binary flags in a vamsas session directory.
SessionFlagWatcherElement Element of the VamsasFileWatcherThread event generator chain.
SessionsFile  
SessionUrn SessionUrn for simpleclient sessions: simpleclient://{Absolute path to session directory} For simpleclient urn, it consideres as on the same machine, using the path to the session directory to generate the session URN
SimpleClient  
SimpleClientAppdata  
SimpleClientConfig Config for SimpleClient - a basic Vamsas Client Interface implementation.
SimpleClientFactory creates a session arena in the user home directory under .vamsas.
SimpleDocBinding Base class for SimpleClient Vamsas Document Object Manipulation holds static vamsasDocument from XML routines and state objects for a particular unmarshalled Document instance.
SimpleDocument  
SimplePickManager Blocking message handler
SimpleSessionManager Class to deal with sessions retrieves list of available sessions adds an active session removes a close session (the last client has been closed)
VamsasArchive Class for high-level io and Jar manipulation involved in creating or updating a vamsas archive (with backups).
VamsasArchiveReader Basic methods for accessing an existing Vamsas Archive, and Jar entry names for creating new vamsas archives.
VamsasFile low level vamsas document management routines analogous to ClientsFile Grew out of io tests on VamsasArchive class in uk.ac.vamsas.test.simpleclient.VamsasArchive This class is not thread safe.
VamsasFileWatcherElement Element of the VamsasFileWatcherThread event generator chain.
VamsasFileWatcherThread Watches a bunch of VamsasFile states, calling the associated event handler when anything changes.
VamsasSession Does all the IO operations for a SimpleClient instance accessing a SimpleClient vamsas session.
WatcherElement  
 

Exception Summary
LockTimeoutException