directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From trus...@apache.org
Subject svn commit: r485162 - /directory/trunks/apacheds/mitosis/src/main/java/org/apache/directory/mitosis/operation/OperationCodec.java
Date Sun, 10 Dec 2006 12:04:43 GMT
Author: trustin
Date: Sun Dec 10 04:04:42 2006
New Revision: 485162

URL: http://svn.apache.org/viewvc?view=rev&rev=485162
Log:
Added JavaDoc for OperationCodec

Modified:
    directory/trunks/apacheds/mitosis/src/main/java/org/apache/directory/mitosis/operation/OperationCodec.java

Modified: directory/trunks/apacheds/mitosis/src/main/java/org/apache/directory/mitosis/operation/OperationCodec.java
URL: http://svn.apache.org/viewvc/directory/trunks/apacheds/mitosis/src/main/java/org/apache/directory/mitosis/operation/OperationCodec.java?view=diff&rev=485162&r1=485161&r2=485162
==============================================================================
--- directory/trunks/apacheds/mitosis/src/main/java/org/apache/directory/mitosis/operation/OperationCodec.java
(original)
+++ directory/trunks/apacheds/mitosis/src/main/java/org/apache/directory/mitosis/operation/OperationCodec.java
Sun Dec 10 04:04:42 2006
@@ -29,7 +29,8 @@
 
 
 /**
- * Encodes {@link Operation}s to <tt>byte[]</tt> and vice versa.
+ * Encodes {@link Operation}s to <tt>byte[]</tt> and vice versa so an
+ * {@link Operation} can be transferred via TCP/IP communication.
  * 
  * @author <a href="mailto:dev@directory.apache.org">Apache Directory Project</a>
  */
@@ -40,6 +41,9 @@
     }
 
 
+    /**
+     * Transforms the specified {@link Operation} into a byte array.
+     */
     public byte[] encode( Operation op )
     {
         ByteArrayOutputStream bout = new ByteArrayOutputStream();
@@ -59,6 +63,9 @@
     }
 
 
+    /**
+     * Transforms the specified byte array into an {@link Operation}.
+     */
     public Operation decode( byte[] data )
     {
         ObjectInputStream in;



Mime
View raw message