You are viewing a plain text version of this content. The canonical link for it is here.
Posted to server-dev@james.apache.org by rd...@apache.org on 2008/11/25 23:43:08 UTC

svn commit: r720631 - /james/protocol-tester/trunk/main/src/main/java/org/apache/james/mpt/HostSystem.java

Author: rdonkin
Date: Tue Nov 25 14:43:07 2008
New Revision: 720631

URL: http://svn.apache.org/viewvc?rev=720631&view=rev
Log:
Javadoc improvements

Modified:
    james/protocol-tester/trunk/main/src/main/java/org/apache/james/mpt/HostSystem.java

Modified: james/protocol-tester/trunk/main/src/main/java/org/apache/james/mpt/HostSystem.java
URL: http://svn.apache.org/viewvc/james/protocol-tester/trunk/main/src/main/java/org/apache/james/mpt/HostSystem.java?rev=720631&r1=720630&r2=720631&view=diff
==============================================================================
--- james/protocol-tester/trunk/main/src/main/java/org/apache/james/mpt/HostSystem.java (original)
+++ james/protocol-tester/trunk/main/src/main/java/org/apache/james/mpt/HostSystem.java Tue Nov 25 14:43:07 2008
@@ -21,7 +21,7 @@
 
 /**
  * Host system under test.
- * 
+ * @see Session supports multiple connection to the host system
  */
 public interface HostSystem {
 
@@ -51,9 +51,24 @@
      */
     public Session newSession(Continuation continuation) throws Exception;
 
+    /**
+     * A connection to the host.
+     */
     public interface Session {
+        
+        /**
+         * Reads a line from the session input,
+         * blocking until a new line is available.
+         * @return not null
+         * @throws Exception
+         */
         public String readLine() throws Exception;
 
+        /**
+         * Writes a line to the session output.
+         * @param line not null
+         * @throws Exception
+         */
         public void writeLine(String line) throws Exception;
 
         /**



---------------------------------------------------------------------
To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org