From 38d910884de029623ef41b9c6311300baabecfda Mon Sep 17 00:00:00 2001 From: jprocter Date: Tue, 11 Oct 2005 09:57:32 +0000 Subject: [PATCH] quick update git-svn-id: https://svn.lifesci.dundee.ac.uk/svn/repository/trunk@57 be28352e-c001-0410-b1a7-c7978e42abec --- src/org/vamsas/client/IClient.java | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/src/org/vamsas/client/IClient.java b/src/org/vamsas/client/IClient.java index cebed2a..a3a0a6a 100644 --- a/src/org/vamsas/client/IClient.java +++ b/src/org/vamsas/client/IClient.java @@ -104,4 +104,14 @@ public interface IClient { * */ public void pollUpdate(); + + /** + * Client application calls this after any pre-session initialization + * (registering of Handlers, etc) + * Exceptions are raised for any faliures. Any stateful calls to the session prior to + * this will result in an implicit call to joinSession - if that results in an exception + * then the VamsasClient should raise an Error. + * TODO: create VAMSAS exception hierarchy (in a language agnostic manner) + */ + public void joinSession() throws Exception; } -- 1.7.10.2