Added to mechanism to determine if a client closing is the last one of the session.
authorpmarguerite <pmarguerite@issues.jalview.org>
Tue, 12 Jun 2007 10:40:53 +0000 (10:40 +0000)
committerpmarguerite <pmarguerite@issues.jalview.org>
Tue, 12 Jun 2007 10:40:53 +0000 (10:40 +0000)
commitbf531728faa1db62566916d0437527463dd555d3
treee368ba7d8bf794be5d93de936633d824ddc74c3d
parenteae55a9d436c058b8f03036faa0a4baa930c2cd5
Added to mechanism to determine if a client closing is the last one of the session.
Each application creates a file with a lock on it in a subdirectory of the session.
When a client is closing, it checks if there is no other locked file.
If no file, it is the last one and closes the sessions.

git-svn-id: https://svn.lifesci.dundee.ac.uk/svn/repository/trunk@403 be28352e-c001-0410-b1a7-c7978e42abec
src/uk/ac/vamsas/client/simpleclient/ClientSessionFileWatcherElement.java
src/uk/ac/vamsas/client/simpleclient/SimpleClient.java
src/uk/ac/vamsas/client/simpleclient/SimpleClientFactory.java
src/uk/ac/vamsas/client/simpleclient/VamsasSession.java