directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From erodrig...@apache.org
Subject svn commit: r551798 - in /directory/apacheds/trunk/protocol-dhcp/src/main/java/org/apache/directory/server/dhcp/io: DhcpOptionsDecoder.java DhcpOptionsEncoder.java
Date Fri, 29 Jun 2007 05:26:26 GMT
Author: erodriguez
Date: Thu Jun 28 22:26:25 2007
New Revision: 551798

URL: http://svn.apache.org/viewvc?view=rev&rev=551798
Log:
Warnings clean-up:  Javadocs.

Modified:
    directory/apacheds/trunk/protocol-dhcp/src/main/java/org/apache/directory/server/dhcp/io/DhcpOptionsDecoder.java
    directory/apacheds/trunk/protocol-dhcp/src/main/java/org/apache/directory/server/dhcp/io/DhcpOptionsEncoder.java

Modified: directory/apacheds/trunk/protocol-dhcp/src/main/java/org/apache/directory/server/dhcp/io/DhcpOptionsDecoder.java
URL: http://svn.apache.org/viewvc/directory/apacheds/trunk/protocol-dhcp/src/main/java/org/apache/directory/server/dhcp/io/DhcpOptionsDecoder.java?view=diff&rev=551798&r1=551797&r2=551798
==============================================================================
--- directory/apacheds/trunk/protocol-dhcp/src/main/java/org/apache/directory/server/dhcp/io/DhcpOptionsDecoder.java
(original)
+++ directory/apacheds/trunk/protocol-dhcp/src/main/java/org/apache/directory/server/dhcp/io/DhcpOptionsDecoder.java
Thu Jun 28 22:26:25 2007
@@ -50,6 +50,13 @@
         { ( byte ) 99, ( byte ) 130, ( byte ) 83, ( byte ) 99 };
 
 
+    /**
+     * Decodes the {@link ByteBuffer} into an {@link OptionsField}.
+     *
+     * @param message
+     * @return The decoded {@link OptionsField}.
+     * @throws DhcpException
+     */
     public OptionsField decode( ByteBuffer message ) throws DhcpException
     {
         byte[] magicCookie = new byte[4];

Modified: directory/apacheds/trunk/protocol-dhcp/src/main/java/org/apache/directory/server/dhcp/io/DhcpOptionsEncoder.java
URL: http://svn.apache.org/viewvc/directory/apacheds/trunk/protocol-dhcp/src/main/java/org/apache/directory/server/dhcp/io/DhcpOptionsEncoder.java?view=diff&rev=551798&r1=551797&r2=551798
==============================================================================
--- directory/apacheds/trunk/protocol-dhcp/src/main/java/org/apache/directory/server/dhcp/io/DhcpOptionsEncoder.java
(original)
+++ directory/apacheds/trunk/protocol-dhcp/src/main/java/org/apache/directory/server/dhcp/io/DhcpOptionsEncoder.java
Thu Jun 28 22:26:25 2007
@@ -38,6 +38,12 @@
         { ( byte ) 99, ( byte ) 130, ( byte ) 83, ( byte ) 99 };
 
 
+    /**
+     * Encodes the {@link OptionsField} into the provided {@link ByteBuffer}.
+     *
+     * @param options
+     * @param message
+     */
     public void encode( OptionsField options, ByteBuffer message )
     {
         message.put( VENDOR_MAGIC_COOKIE );



Mime
View raw message