refactored AppData stream classes so they are returned from the IClientAppdata interf...
authorjprocter <jprocter@compbio.dundee.ac.uk>
Thu, 16 Aug 2007 17:20:15 +0000 (17:20 +0000)
committerjprocter <jprocter@compbio.dundee.ac.uk>
Thu, 16 Aug 2007 17:20:15 +0000 (17:20 +0000)
git-svn-id: https://svn.lifesci.dundee.ac.uk/svn/repository/trunk@428 be28352e-c001-0410-b1a7-c7978e42abec

src/uk/ac/vamsas/client/AppDataInputStream.java [moved from src/uk/ac/vamsas/client/simpleclient/AppDataInputStream.java with 96% similarity]
src/uk/ac/vamsas/client/AppDataOutputStream.java [moved from src/uk/ac/vamsas/client/simpleclient/AppDataOutputStream.java with 98% similarity]
src/uk/ac/vamsas/client/IClientAppdata.java
src/uk/ac/vamsas/test/simpleclient/ArchiveClient.java

@@ -1,7 +1,7 @@
 /**
  * 
  */
-package uk.ac.vamsas.client.simpleclient;
+package uk.ac.vamsas.client;
 
 import java.io.DataInput;
 import java.io.DataInputStream;
@@ -1,7 +1,7 @@
 /**
  * 
  */
-package uk.ac.vamsas.client.simpleclient;
+package uk.ac.vamsas.client;
 
 import java.io.DataOutputStream;
 import java.io.IOException;
index c718d22..4df6abb 100644 (file)
@@ -3,8 +3,7 @@
  */
 package uk.ac.vamsas.client;
 
-import java.io.DataInput;
-import java.io.DataOutput;
+
 
 /**
  * Object for accessing Client and User specific data
@@ -43,19 +42,19 @@ public interface IClientAppdata {
   /**
    * @return non-user specific data output stream 
    */
-  DataOutput getClientOutputStream();
+  AppDataOutputStream getClientOutputStream();
   /**
    * @return non-user specific data input stream 
    */
-  DataInput getClientInputStream();
+  AppDataInputStream getClientInputStream();
   /**
    * 
    * @return user specific data output stream
    */
-  DataOutput getUserOutputStream();
+  AppDataOutputStream getUserOutputStream();
   /**
    * 
    * @return user specific data input stream
    */
-  DataInput getUserInputStream();
+  AppDataInputStream getUserInputStream();
 }
index 747e051..9044e0d 100644 (file)
@@ -14,13 +14,13 @@ import org.apache.commons.logging.LogFactory;
 import org.exolab.castor.xml.MarshalException;
 import org.exolab.castor.xml.ValidationException;
 
+import uk.ac.vamsas.client.AppDataOutputStream;
 import uk.ac.vamsas.client.ClientHandle;
 import uk.ac.vamsas.client.IVorbaIdFactory;
 import uk.ac.vamsas.client.SessionHandle;
 import uk.ac.vamsas.client.UserHandle;
 import uk.ac.vamsas.client.Vobject;
 import uk.ac.vamsas.client.VorbaId;
-import uk.ac.vamsas.client.simpleclient.AppDataOutputStream;
 import uk.ac.vamsas.client.simpleclient.FileWatcher;
 import uk.ac.vamsas.client.simpleclient.IdFactory;
 import uk.ac.vamsas.client.simpleclient.SessionFile;