directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From trus...@apache.org
Subject svn commit: r354266 - in /directory/network/trunk/src/java/org/apache/mina/handler/chain: Command.java CommandChain.java package.html
Date Tue, 06 Dec 2005 03:16:03 GMT
Author: trustin
Date: Mon Dec  5 19:15:42 2005
New Revision: 354266

URL: http://svn.apache.org/viewcvs?rev=354266&view=rev
Log:
Revised documentation

Modified:
    directory/network/trunk/src/java/org/apache/mina/handler/chain/Command.java
    directory/network/trunk/src/java/org/apache/mina/handler/chain/CommandChain.java
    directory/network/trunk/src/java/org/apache/mina/handler/chain/package.html

Modified: directory/network/trunk/src/java/org/apache/mina/handler/chain/Command.java
URL: http://svn.apache.org/viewcvs/directory/network/trunk/src/java/org/apache/mina/handler/chain/Command.java?rev=354266&r1=354265&r2=354266&view=diff
==============================================================================
--- directory/network/trunk/src/java/org/apache/mina/handler/chain/Command.java (original)
+++ directory/network/trunk/src/java/org/apache/mina/handler/chain/Command.java Mon Dec  5
19:15:42 2005
@@ -90,8 +90,20 @@
      */
     void execute( NextCommand next, IoSession session, Object message ) throws Exception;
     
+    /**
+     * Represents an indirect reference to the next {@link Command} of
+     * the {@link CommandChain}.  This interface provides a way to forward
+     * the request to the next {@link Command}.
+     *
+     * @author The Apache Directory Project (dev@directory.apache.org)
+     * @version $Rev$, $Date$
+     */
     public interface NextCommand
     {
+        /**
+         * Forwards the request to the next {@link Command} in the
+         * {@link CommandChain}.
+         */
         void execute( IoSession session, Object message ) throws Exception;
     }
 }

Modified: directory/network/trunk/src/java/org/apache/mina/handler/chain/CommandChain.java
URL: http://svn.apache.org/viewcvs/directory/network/trunk/src/java/org/apache/mina/handler/chain/CommandChain.java?rev=354266&r1=354265&r2=354266&view=diff
==============================================================================
--- directory/network/trunk/src/java/org/apache/mina/handler/chain/CommandChain.java (original)
+++ directory/network/trunk/src/java/org/apache/mina/handler/chain/CommandChain.java Mon Dec
 5 19:15:42 2005
@@ -27,6 +27,8 @@
 import org.apache.mina.common.IoSession;
 
 /**
+ * A chain of {@link Command}s.
+ * 
  * @author The Apache Directory Project
  * @version $Rev$, $Date$
  */

Modified: directory/network/trunk/src/java/org/apache/mina/handler/chain/package.html
URL: http://svn.apache.org/viewcvs/directory/network/trunk/src/java/org/apache/mina/handler/chain/package.html?rev=354266&r1=354265&r2=354266&view=diff
==============================================================================
--- directory/network/trunk/src/java/org/apache/mina/handler/chain/package.html (original)
+++ directory/network/trunk/src/java/org/apache/mina/handler/chain/package.html Mon Dec  5
19:15:42 2005
@@ -3,7 +3,7 @@
 <head>
 </head>
 <body>
-A handler implementation that helps you implement hierarchical protocols
+A handler implementation that helps you implement sequentially layered protocols
 using Chains of Responsibility pattern.
 </body>
 </html>



Mime
View raw message