directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From akaras...@apache.org
Subject svn commit: r376623 [28/38] - in /directory/sandbox/akarasulu/rc1/apacheds: core-plugin/src/main/java/org/apache/directory/server/core/tools/schema/ core-plugin/src/test/java/org/apache/directory/server/core/tools/schema/ core-shared/src/main/java/org/...
Date Fri, 10 Feb 2006 10:49:57 GMT
Modified: directory/sandbox/akarasulu/rc1/apacheds/protocol-dhcp/src/main/java/org/apache/directory/server/dhcp/io/DhcpMessageEncoder.java
URL: http://svn.apache.org/viewcvs/directory/sandbox/akarasulu/rc1/apacheds/protocol-dhcp/src/main/java/org/apache/directory/server/dhcp/io/DhcpMessageEncoder.java?rev=376623&r1=376622&r2=376623&view=diff
==============================================================================
--- directory/sandbox/akarasulu/rc1/apacheds/protocol-dhcp/src/main/java/org/apache/directory/server/dhcp/io/DhcpMessageEncoder.java (original)
+++ directory/sandbox/akarasulu/rc1/apacheds/protocol-dhcp/src/main/java/org/apache/directory/server/dhcp/io/DhcpMessageEncoder.java Fri Feb 10 02:48:07 2006
@@ -17,6 +17,7 @@
 
 package org.apache.directory.server.dhcp.io;
 
+
 import java.nio.ByteBuffer;
 
 import org.apache.directory.server.dhcp.messages.DhcpMessage;
@@ -25,34 +26,33 @@
 
 public class DhcpMessageEncoder
 {
-	/**
-	 * Converts a DhcpMessage object into a byte buffer.
-	 * 
-	 * @param byteBuffer ByteBuffer to put DhcpMessage into
-	 * @param message DhcpMessage to encode into ByteBuffer
-	 */
-	public void encode( ByteBuffer byteBuffer, DhcpMessage message )
-	{
-		byteBuffer.put( message.getOpCode() );
-		byteBuffer.put( message.getHardwareAddressType() );
-		byteBuffer.put( message.getHardwareAddressLength() );
-		byteBuffer.put( message.getHardwareOptions() );
-		byteBuffer.putInt( message.getTransactionId() );
-		byteBuffer.putShort( message.getSeconds() );
-		byteBuffer.putShort( message.getFlags() );
-		byteBuffer.put( message.getActualClientAddress() );
-		byteBuffer.put( message.getAssignedClientAddress() );
-		byteBuffer.put( message.getNextServerAddress() );
-		byteBuffer.put( message.getRelayAgentAddress() );
-		byteBuffer.put( message.getClientHardwareAddress() );
-		byteBuffer.put( message.getServerHostname() );
-		byteBuffer.put( message.getBootFileName() );
-		
-		OptionsField options = message.getOptions();
-		
-		DhcpOptionsEncoder optionsEncoder = new DhcpOptionsEncoder();
-		
-		optionsEncoder.encode( options, byteBuffer );
-	}
-}
+    /**
+     * Converts a DhcpMessage object into a byte buffer.
+     * 
+     * @param byteBuffer ByteBuffer to put DhcpMessage into
+     * @param message DhcpMessage to encode into ByteBuffer
+     */
+    public void encode( ByteBuffer byteBuffer, DhcpMessage message )
+    {
+        byteBuffer.put( message.getOpCode() );
+        byteBuffer.put( message.getHardwareAddressType() );
+        byteBuffer.put( message.getHardwareAddressLength() );
+        byteBuffer.put( message.getHardwareOptions() );
+        byteBuffer.putInt( message.getTransactionId() );
+        byteBuffer.putShort( message.getSeconds() );
+        byteBuffer.putShort( message.getFlags() );
+        byteBuffer.put( message.getActualClientAddress() );
+        byteBuffer.put( message.getAssignedClientAddress() );
+        byteBuffer.put( message.getNextServerAddress() );
+        byteBuffer.put( message.getRelayAgentAddress() );
+        byteBuffer.put( message.getClientHardwareAddress() );
+        byteBuffer.put( message.getServerHostname() );
+        byteBuffer.put( message.getBootFileName() );
+
+        OptionsField options = message.getOptions();
 
+        DhcpOptionsEncoder optionsEncoder = new DhcpOptionsEncoder();
+
+        optionsEncoder.encode( options, byteBuffer );
+    }
+}

Modified: directory/sandbox/akarasulu/rc1/apacheds/protocol-dhcp/src/main/java/org/apache/directory/server/dhcp/io/DhcpOptionsDecoder.java
URL: http://svn.apache.org/viewcvs/directory/sandbox/akarasulu/rc1/apacheds/protocol-dhcp/src/main/java/org/apache/directory/server/dhcp/io/DhcpOptionsDecoder.java?rev=376623&r1=376622&r2=376623&view=diff
==============================================================================
--- directory/sandbox/akarasulu/rc1/apacheds/protocol-dhcp/src/main/java/org/apache/directory/server/dhcp/io/DhcpOptionsDecoder.java (original)
+++ directory/sandbox/akarasulu/rc1/apacheds/protocol-dhcp/src/main/java/org/apache/directory/server/dhcp/io/DhcpOptionsDecoder.java Fri Feb 10 02:48:07 2006
@@ -17,6 +17,7 @@
 
 package org.apache.directory.server.dhcp.io;
 
+
 import java.nio.ByteBuffer;
 import java.util.Arrays;
 
@@ -38,68 +39,68 @@
 
 public class DhcpOptionsDecoder
 {
-	private static final byte[] VENDOR_MAGIC_COOKIE =
-			{ (byte) 99, (byte) 130, (byte) 83, (byte) 99 };
-	
-	public OptionsField decode( ByteBuffer message ) throws DhcpException
-	{
-		byte[] magicCookie = new byte[ 4 ];
-		message.get( magicCookie );
-		
-		if ( !Arrays.equals( VENDOR_MAGIC_COOKIE, magicCookie ) )
-		{
-			throw new DhcpException("Parse exception.");
-		}
-		
-		byte code;
-		byte length;
-		byte value[];
-		
-		OptionsField options = new OptionsField();
-
-		while ( message.get( message.position() ) != (byte) 255 )
-		{
-			code = message.get();
-			length = message.get();
-			value = new byte[ length ];
-			message.get( value );
-			
-			options.add( getInstance( code, value ) );
-		}
-		
-		return options;
-	}
-	
-	private DhcpOption getInstance( int tag, byte[] value)
-		throws DhcpException
-	{
-		switch (tag)
-		{
-			case 0:
-				return new PadOption();
-			case 1:
-				return new EndOption();
-			case 2:
-				return new SubnetMask( value );
-			case 3:
-				return new TimeOffset( value );
-			case 6:
-				return new DomainNameServers( value );
-			case 15:
-				return new DomainName( value );
-			case 50:
-				return new RequestedIpAddress( value );
-			case 51:
-				return new IpAddressLeaseTime( value );
-			case 53:
-				return new DhcpMessageType( value );
-			case 54:
-				return new ServerIdentifier( value );
-			case 55:
-				return new ParameterRequestList( value );
-			default:
-				throw new DhcpException( "Unsupported or bad option code:  " + tag );
-		}
-	}
-}
+    private static final byte[] VENDOR_MAGIC_COOKIE =
+        { ( byte ) 99, ( byte ) 130, ( byte ) 83, ( byte ) 99 };
+
+
+    public OptionsField decode( ByteBuffer message ) throws DhcpException
+    {
+        byte[] magicCookie = new byte[4];
+        message.get( magicCookie );
+
+        if ( !Arrays.equals( VENDOR_MAGIC_COOKIE, magicCookie ) )
+        {
+            throw new DhcpException( "Parse exception." );
+        }
+
+        byte code;
+        byte length;
+        byte value[];
 
+        OptionsField options = new OptionsField();
+
+        while ( message.get( message.position() ) != ( byte ) 255 )
+        {
+            code = message.get();
+            length = message.get();
+            value = new byte[length];
+            message.get( value );
+
+            options.add( getInstance( code, value ) );
+        }
+
+        return options;
+    }
+
+
+    private DhcpOption getInstance( int tag, byte[] value ) throws DhcpException
+    {
+        switch ( tag )
+        {
+            case 0:
+                return new PadOption();
+            case 1:
+                return new EndOption();
+            case 2:
+                return new SubnetMask( value );
+            case 3:
+                return new TimeOffset( value );
+            case 6:
+                return new DomainNameServers( value );
+            case 15:
+                return new DomainName( value );
+            case 50:
+                return new RequestedIpAddress( value );
+            case 51:
+                return new IpAddressLeaseTime( value );
+            case 53:
+                return new DhcpMessageType( value );
+            case 54:
+                return new ServerIdentifier( value );
+            case 55:
+                return new ParameterRequestList( value );
+            default:
+                throw new DhcpException( "Unsupported or bad option code:  " + tag );
+        }
+    }
+}

Modified: directory/sandbox/akarasulu/rc1/apacheds/protocol-dhcp/src/main/java/org/apache/directory/server/dhcp/io/DhcpOptionsEncoder.java
URL: http://svn.apache.org/viewcvs/directory/sandbox/akarasulu/rc1/apacheds/protocol-dhcp/src/main/java/org/apache/directory/server/dhcp/io/DhcpOptionsEncoder.java?rev=376623&r1=376622&r2=376623&view=diff
==============================================================================
--- directory/sandbox/akarasulu/rc1/apacheds/protocol-dhcp/src/main/java/org/apache/directory/server/dhcp/io/DhcpOptionsEncoder.java (original)
+++ directory/sandbox/akarasulu/rc1/apacheds/protocol-dhcp/src/main/java/org/apache/directory/server/dhcp/io/DhcpOptionsEncoder.java Fri Feb 10 02:48:07 2006
@@ -17,6 +17,7 @@
 
 package org.apache.directory.server.dhcp.io;
 
+
 import java.nio.ByteBuffer;
 
 import org.apache.directory.server.dhcp.options.DhcpOption;
@@ -26,22 +27,22 @@
 
 public class DhcpOptionsEncoder
 {
-	private static final byte[] VENDOR_MAGIC_COOKIE =
-			{ (byte) 99, (byte) 130, (byte) 83, (byte) 99 };
-	
+    private static final byte[] VENDOR_MAGIC_COOKIE =
+        { ( byte ) 99, ( byte ) 130, ( byte ) 83, ( byte ) 99 };
+
+
     public void encode( OptionsField options, ByteBuffer message )
     {
-    	message.put( VENDOR_MAGIC_COOKIE );
+        message.put( VENDOR_MAGIC_COOKIE );
 
-		DhcpOption[] optionsArray = options.toArray();
-		
-		for ( int ii=0; ii < optionsArray.length; ii++ )
-		{
-			optionsArray[ ii ].writeTo( message );
-		}
-		
-		DhcpOption endOption = new EndOption();
-		endOption.writeTo( message );
-	}
-}
+        DhcpOption[] optionsArray = options.toArray();
+
+        for ( int ii = 0; ii < optionsArray.length; ii++ )
+        {
+            optionsArray[ii].writeTo( message );
+        }
 
+        DhcpOption endOption = new EndOption();
+        endOption.writeTo( message );
+    }
+}

Modified: directory/sandbox/akarasulu/rc1/apacheds/protocol-dhcp/src/main/java/org/apache/directory/server/dhcp/messages/DhcpMessage.java
URL: http://svn.apache.org/viewcvs/directory/sandbox/akarasulu/rc1/apacheds/protocol-dhcp/src/main/java/org/apache/directory/server/dhcp/messages/DhcpMessage.java?rev=376623&r1=376622&r2=376623&view=diff
==============================================================================
--- directory/sandbox/akarasulu/rc1/apacheds/protocol-dhcp/src/main/java/org/apache/directory/server/dhcp/messages/DhcpMessage.java (original)
+++ directory/sandbox/akarasulu/rc1/apacheds/protocol-dhcp/src/main/java/org/apache/directory/server/dhcp/messages/DhcpMessage.java Fri Feb 10 02:48:07 2006
@@ -17,191 +17,206 @@
 
 package org.apache.directory.server.dhcp.messages;
 
+
 import org.apache.directory.server.dhcp.options.OptionsField;
 
 
 public class DhcpMessage
 {
-	private MessageType messageType;
-	
-	private byte  opCode;
-	private byte  hardwareAddressType;
-	private byte  hardwareAddressLength;
-	private byte  hardwareOptions;
-	private int   transactionId;
-	private short seconds;
-	private short flags;
-	private byte  actualClientAddress[]   = new byte[4];
-	private byte  assignedClientAddress[] = new byte[4];
-	private byte  nextServerAddress[]     = new byte[4];
-	private byte  relayAgentAddress[]     = new byte[4];
-	private byte  clientHardwareAddress[] = new byte[16];
-	private byte  serverHostname[]        = new byte[64];
-	private byte  bootFileName[]          = new byte[128];
-	
-	private OptionsField options = new OptionsField();
-	
-	public DhcpMessage( MessageType messageType, byte opCode, byte hardwareAddressType,
-			byte hardwareAddressLength, byte hardwareOptions, int transactionId,
-			short seconds, short flags, byte[] actualClientAddress,
-			byte[] assignedClientAddress, byte[] nextServerAddress, byte[] relayAgentAddress,
-			byte[] clientHardwareAddress, byte[] serverHostname, byte[] bootFileName,
-			OptionsField options )
-	{
-		this.messageType           = messageType;
-		this.opCode                = opCode;
-		this.hardwareAddressType   = hardwareAddressType;
-		this.hardwareAddressLength = hardwareAddressLength;
-		this.hardwareOptions       = hardwareOptions;
-		this.transactionId         = transactionId;
-		this.seconds               = seconds;
-		this.flags                 = flags;
-		this.actualClientAddress   = actualClientAddress;
-		this.assignedClientAddress = assignedClientAddress;
-		this.nextServerAddress     = nextServerAddress;
-		this.relayAgentAddress     = relayAgentAddress;
-		this.clientHardwareAddress = clientHardwareAddress;
-		this.serverHostname        = serverHostname;
-		this.bootFileName          = bootFileName;
-		this.options               = options;
-	}
-	
-	/**
-	 * Message type.
-	 */
-	public MessageType getMessageType()
-	{
-		return messageType;
-	}
-	
-	/**
-	 * Message op code / message type.
-	 * 1 = BOOTREQUEST, 2 = BOOTREPLY
-	 */
-	public byte getOpCode()
-	{
-		return opCode;
-	}
-
-	/**
-	 * Hardware address type, see ARP section in
-	 * "Assigned Numbers" RFC; e.g., '1' = 10mb ethernet.
-	 */
-	public byte getHardwareAddressType()
-	{
-		return hardwareAddressType;
-	}
-
-	/**
-	 * Hardware address length (e.g.  '6' for 10mb ethernet).
-	 */
-	public byte getHardwareAddressLength()
-	{
-		return hardwareAddressLength;
-	}
-
-	/**
-	 * Client sets to zero, optionally used by relay agents
-	 * when booting via a relay agent.
-	 */
-	public byte getHardwareOptions()
-	{
-		return hardwareOptions;
-	}
-
-	/**
-	 * Transaction ID, a random number chosen by the client,
-	 * used by the client and server to associate messages
-	 * and responses between a client and a server.
-	 */
-	public int getTransactionId()
-	{
-		return transactionId;
-	}
-
-	/**
-	 * Filled in by client, seconds elapsed since client
-	 * began address acquisition or renewal process.
-	 */
-	public short getSeconds()
-	{
-		return seconds;
-	}
-
-	/**
-	 * Flags.
-	 */
-	public short getFlags()
-	{
-		return flags;
-	}
-
-	/**
-	 * Client IP address; only filled in if client is in BOUND,
-	 * RENEW or REBINDING state and can respond to ARP requests.
-	 */
-	public byte[] getActualClientAddress()
-	{
-		return actualClientAddress;
-	}
-
-	/**
-	 * Get 'your' (client) IP address.
-	 */
-	public byte[] getAssignedClientAddress()
-	{
-		return assignedClientAddress;
-	}
-
-	/**
-	 * IP address of next server to use in bootstrap;
-	 * returned in DHCPOFFER, DHCPACK by server.
-	 */
-	public byte[] getNextServerAddress()
-	{
-		return nextServerAddress;
-	}
-
-	/**
-	 * Relay agent IP address, used in booting via a relay agent.
-	 */
-	public byte[] getRelayAgentAddress()
-	{
-		return relayAgentAddress;
-	}
-
-	/**
-	 * Client hardware address.
-	 */
-	public byte[] getClientHardwareAddress()
-	{
-		return clientHardwareAddress;
-	}
-
-	/**
-	 * Optional server host name, null terminated string.
-	 */
-	public byte[] getServerHostname()
-	{
-		return serverHostname;
-	}
-
-	/**
-	 * Boot file name, null terminated string; "generic" name or null
-	 * in DHCPDISCOVER, fully qualified directory-path name in DHCPOFFER.
-	 */
-	public byte[] getBootFileName()
-	{
-		return bootFileName;
-	}
-	
-	/**
-	 * Optional parameters field.  See the options
-	 * documents for a list of defined options.
-	 */
-	public OptionsField getOptions()
-	{
-		return options;
-	}
-}
+    private MessageType messageType;
 
+    private byte opCode;
+    private byte hardwareAddressType;
+    private byte hardwareAddressLength;
+    private byte hardwareOptions;
+    private int transactionId;
+    private short seconds;
+    private short flags;
+    private byte actualClientAddress[] = new byte[4];
+    private byte assignedClientAddress[] = new byte[4];
+    private byte nextServerAddress[] = new byte[4];
+    private byte relayAgentAddress[] = new byte[4];
+    private byte clientHardwareAddress[] = new byte[16];
+    private byte serverHostname[] = new byte[64];
+    private byte bootFileName[] = new byte[128];
+
+    private OptionsField options = new OptionsField();
+
+
+    public DhcpMessage(MessageType messageType, byte opCode, byte hardwareAddressType, byte hardwareAddressLength,
+        byte hardwareOptions, int transactionId, short seconds, short flags, byte[] actualClientAddress,
+        byte[] assignedClientAddress, byte[] nextServerAddress, byte[] relayAgentAddress, byte[] clientHardwareAddress,
+        byte[] serverHostname, byte[] bootFileName, OptionsField options)
+    {
+        this.messageType = messageType;
+        this.opCode = opCode;
+        this.hardwareAddressType = hardwareAddressType;
+        this.hardwareAddressLength = hardwareAddressLength;
+        this.hardwareOptions = hardwareOptions;
+        this.transactionId = transactionId;
+        this.seconds = seconds;
+        this.flags = flags;
+        this.actualClientAddress = actualClientAddress;
+        this.assignedClientAddress = assignedClientAddress;
+        this.nextServerAddress = nextServerAddress;
+        this.relayAgentAddress = relayAgentAddress;
+        this.clientHardwareAddress = clientHardwareAddress;
+        this.serverHostname = serverHostname;
+        this.bootFileName = bootFileName;
+        this.options = options;
+    }
+
+
+    /**
+     * Message type.
+     */
+    public MessageType getMessageType()
+    {
+        return messageType;
+    }
+
+
+    /**
+     * Message op code / message type.
+     * 1 = BOOTREQUEST, 2 = BOOTREPLY
+     */
+    public byte getOpCode()
+    {
+        return opCode;
+    }
+
+
+    /**
+     * Hardware address type, see ARP section in
+     * "Assigned Numbers" RFC; e.g., '1' = 10mb ethernet.
+     */
+    public byte getHardwareAddressType()
+    {
+        return hardwareAddressType;
+    }
+
+
+    /**
+     * Hardware address length (e.g.  '6' for 10mb ethernet).
+     */
+    public byte getHardwareAddressLength()
+    {
+        return hardwareAddressLength;
+    }
+
+
+    /**
+     * Client sets to zero, optionally used by relay agents
+     * when booting via a relay agent.
+     */
+    public byte getHardwareOptions()
+    {
+        return hardwareOptions;
+    }
+
+
+    /**
+     * Transaction ID, a random number chosen by the client,
+     * used by the client and server to associate messages
+     * and responses between a client and a server.
+     */
+    public int getTransactionId()
+    {
+        return transactionId;
+    }
+
+
+    /**
+     * Filled in by client, seconds elapsed since client
+     * began address acquisition or renewal process.
+     */
+    public short getSeconds()
+    {
+        return seconds;
+    }
+
+
+    /**
+     * Flags.
+     */
+    public short getFlags()
+    {
+        return flags;
+    }
+
+
+    /**
+     * Client IP address; only filled in if client is in BOUND,
+     * RENEW or REBINDING state and can respond to ARP requests.
+     */
+    public byte[] getActualClientAddress()
+    {
+        return actualClientAddress;
+    }
+
+
+    /**
+     * Get 'your' (client) IP address.
+     */
+    public byte[] getAssignedClientAddress()
+    {
+        return assignedClientAddress;
+    }
+
+
+    /**
+     * IP address of next server to use in bootstrap;
+     * returned in DHCPOFFER, DHCPACK by server.
+     */
+    public byte[] getNextServerAddress()
+    {
+        return nextServerAddress;
+    }
+
+
+    /**
+     * Relay agent IP address, used in booting via a relay agent.
+     */
+    public byte[] getRelayAgentAddress()
+    {
+        return relayAgentAddress;
+    }
+
+
+    /**
+     * Client hardware address.
+     */
+    public byte[] getClientHardwareAddress()
+    {
+        return clientHardwareAddress;
+    }
+
+
+    /**
+     * Optional server host name, null terminated string.
+     */
+    public byte[] getServerHostname()
+    {
+        return serverHostname;
+    }
+
+
+    /**
+     * Boot file name, null terminated string; "generic" name or null
+     * in DHCPDISCOVER, fully qualified directory-path name in DHCPOFFER.
+     */
+    public byte[] getBootFileName()
+    {
+        return bootFileName;
+    }
+
+
+    /**
+     * Optional parameters field.  See the options
+     * documents for a list of defined options.
+     */
+    public OptionsField getOptions()
+    {
+        return options;
+    }
+}

Modified: directory/sandbox/akarasulu/rc1/apacheds/protocol-dhcp/src/main/java/org/apache/directory/server/dhcp/messages/DhcpMessageModifier.java
URL: http://svn.apache.org/viewcvs/directory/sandbox/akarasulu/rc1/apacheds/protocol-dhcp/src/main/java/org/apache/directory/server/dhcp/messages/DhcpMessageModifier.java?rev=376623&r1=376622&r2=376623&view=diff
==============================================================================
--- directory/sandbox/akarasulu/rc1/apacheds/protocol-dhcp/src/main/java/org/apache/directory/server/dhcp/messages/DhcpMessageModifier.java (original)
+++ directory/sandbox/akarasulu/rc1/apacheds/protocol-dhcp/src/main/java/org/apache/directory/server/dhcp/messages/DhcpMessageModifier.java Fri Feb 10 02:48:07 2006
@@ -16,175 +16,191 @@
  */
 package org.apache.directory.server.dhcp.messages;
 
+
 import org.apache.directory.server.dhcp.options.OptionsField;
 
 
 public class DhcpMessageModifier
 {
-	private MessageType messageType;
-	
-	private byte  opCode;
-	private byte  hardwareAddressType;
-	private byte  hardwareAddressLength;
-	private byte  hardwareOptions;
-	private int   transactionId;
-	private short seconds;
-	private short flags;
-	private byte  actualClientAddress[]   = new byte[4];
-	private byte  assignedClientAddress[] = new byte[4];
-	private byte  nextServerAddress[]     = new byte[4];
-	private byte  relayAgentAddress[]     = new byte[4];
-	private byte  clientHardwareAddress[] = new byte[16];
-	private byte  serverHostname[]        = new byte[64];
-	private byte  bootFileName[]          = new byte[128];
-	
-	private OptionsField options = new OptionsField();
-	
-	public DhcpMessage getDhcpMessage()
-	{
-		return new DhcpMessage( messageType, opCode, hardwareAddressType, hardwareAddressLength,
-				hardwareOptions, transactionId, seconds, flags, actualClientAddress,
-				assignedClientAddress, nextServerAddress, relayAgentAddress,
-				clientHardwareAddress, serverHostname, bootFileName, options );
-	}
-	
-	/**
-	 * Message type.
-	 */
-	public void setMessageType( MessageType messageType )
-	{
-		this.messageType = messageType;
-	}
-	
-	/**
-	 * Message op code / message type.
-	 * 1 = BOOTREQUEST, 2 = BOOTREPLY
-	 */
-	public void setOpCode( byte opCode )
-	{
-		this.opCode = opCode;
-	}
-
-	/**
-	 * Hardware address type, see ARP section in
-	 * "Assigned Numbers" RFC; e.g., '1' = 10mb ethernet.
-	 */
-	public void setHardwareAddressType( byte hardwareAddressType )
-	{
-		this.hardwareAddressType = hardwareAddressType;
-	}
-
-	/**
-	 * Hardware address length (e.g.  '6' for 10mb ethernet).
-	 */
-	public void setHardwareAddressLength( byte hardwareAddressLength )
-	{
-		this.hardwareAddressLength = hardwareAddressLength;
-	}
-
-	/**
-	 * Set hops field.
-	 * 
-	 * @param hardwareOptions hops field
-	 */
-	public void setHardwareOptions( byte hardwareOptions )
-	{
-		this.hardwareOptions = hardwareOptions;
-	}
-
-	/**
-	 * Transaction ID, a random number chosen by the client,
-	 * used by the client and server to associate messages
-	 * and responses between a client and a server.
-	 */
-	public void setTransactionId( int transactionId )
-	{
-		this.transactionId = transactionId;
-	}
-
-	/**
-	 * Filled in by client, seconds elapsed since client
-	 * began address acquisition or renewal process.
-	 */
-	public void setSeconds( short seconds )
-	{
-		this.seconds = seconds;
-	}
-
-	/**
-	 * Flags.
-	 */
-	public void setFlags( short flags )
-	{
-		this.flags = flags;
-	}
-
-	/**
-	 * Client IP address; only filled in if client is in BOUND,
-	 * RENEW or REBINDING state and can respond to ARP requests.
-	 */
-	public void setActualClientAddress( byte[] actualClientAddress )
-	{
-		this.actualClientAddress = actualClientAddress;
-	}
-
-	/**
-	 * Get 'your' (client) IP address.
-	 */
-	public void setAssignedClientAddress( byte[] assignedClientAddress )
-	{
-		this.assignedClientAddress = assignedClientAddress;
-	}
-
-	/**
-	 * IP address of next server to use in bootstrap;
-	 * returned in DHCPOFFER, DHCPACK by server.
-	 */
-	public void setNextServerAddress( byte[] nextServerAddress )
-	{
-		this.nextServerAddress = nextServerAddress;
-	}
-
-	/**
-	 * Relay agent IP address, used in booting via a relay agent.
-	 */
-	public void setRelayAgentAddress( byte[] relayAgentAddress )
-	{
-		this.relayAgentAddress = relayAgentAddress;
-	}
-
-	/**
-	 * Client hardware address.
-	 */
-	public void setClientHardwareAddress( byte[] clientHardwareAddress )
-	{
-		this.clientHardwareAddress = clientHardwareAddress;
-	}
-
-	/**
-	 * Optional server host name, null terminated string.
-	 */
-	public void setServerHostname( byte[] serverHostname )
-	{
-		this.serverHostname = serverHostname;
-	}
-
-	/**
-	 * Boot file name, null terminated string; "generic" name or null
-	 * in DHCPDISCOVER, fully qualified directory-path name in DHCPOFFER.
-	 */
-	public void setBootFileName( byte[] bootFileName )
-	{
-		this.bootFileName = bootFileName;
-	}
-	
-	/**
-	 * Optional parameters field.  See the options
-	 * documents for a list of defined options.
-	 */
-	public void setOptions( OptionsField options )
-	{
-		this.options = options;
-	}
-}
+    private MessageType messageType;
 
+    private byte opCode;
+    private byte hardwareAddressType;
+    private byte hardwareAddressLength;
+    private byte hardwareOptions;
+    private int transactionId;
+    private short seconds;
+    private short flags;
+    private byte actualClientAddress[] = new byte[4];
+    private byte assignedClientAddress[] = new byte[4];
+    private byte nextServerAddress[] = new byte[4];
+    private byte relayAgentAddress[] = new byte[4];
+    private byte clientHardwareAddress[] = new byte[16];
+    private byte serverHostname[] = new byte[64];
+    private byte bootFileName[] = new byte[128];
+
+    private OptionsField options = new OptionsField();
+
+
+    public DhcpMessage getDhcpMessage()
+    {
+        return new DhcpMessage( messageType, opCode, hardwareAddressType, hardwareAddressLength, hardwareOptions,
+            transactionId, seconds, flags, actualClientAddress, assignedClientAddress, nextServerAddress,
+            relayAgentAddress, clientHardwareAddress, serverHostname, bootFileName, options );
+    }
+
+
+    /**
+     * Message type.
+     */
+    public void setMessageType( MessageType messageType )
+    {
+        this.messageType = messageType;
+    }
+
+
+    /**
+     * Message op code / message type.
+     * 1 = BOOTREQUEST, 2 = BOOTREPLY
+     */
+    public void setOpCode( byte opCode )
+    {
+        this.opCode = opCode;
+    }
+
+
+    /**
+     * Hardware address type, see ARP section in
+     * "Assigned Numbers" RFC; e.g., '1' = 10mb ethernet.
+     */
+    public void setHardwareAddressType( byte hardwareAddressType )
+    {
+        this.hardwareAddressType = hardwareAddressType;
+    }
+
+
+    /**
+     * Hardware address length (e.g.  '6' for 10mb ethernet).
+     */
+    public void setHardwareAddressLength( byte hardwareAddressLength )
+    {
+        this.hardwareAddressLength = hardwareAddressLength;
+    }
+
+
+    /**
+     * Set hops field.
+     * 
+     * @param hardwareOptions hops field
+     */
+    public void setHardwareOptions( byte hardwareOptions )
+    {
+        this.hardwareOptions = hardwareOptions;
+    }
+
+
+    /**
+     * Transaction ID, a random number chosen by the client,
+     * used by the client and server to associate messages
+     * and responses between a client and a server.
+     */
+    public void setTransactionId( int transactionId )
+    {
+        this.transactionId = transactionId;
+    }
+
+
+    /**
+     * Filled in by client, seconds elapsed since client
+     * began address acquisition or renewal process.
+     */
+    public void setSeconds( short seconds )
+    {
+        this.seconds = seconds;
+    }
+
+
+    /**
+     * Flags.
+     */
+    public void setFlags( short flags )
+    {
+        this.flags = flags;
+    }
+
+
+    /**
+     * Client IP address; only filled in if client is in BOUND,
+     * RENEW or REBINDING state and can respond to ARP requests.
+     */
+    public void setActualClientAddress( byte[] actualClientAddress )
+    {
+        this.actualClientAddress = actualClientAddress;
+    }
+
+
+    /**
+     * Get 'your' (client) IP address.
+     */
+    public void setAssignedClientAddress( byte[] assignedClientAddress )
+    {
+        this.assignedClientAddress = assignedClientAddress;
+    }
+
+
+    /**
+     * IP address of next server to use in bootstrap;
+     * returned in DHCPOFFER, DHCPACK by server.
+     */
+    public void setNextServerAddress( byte[] nextServerAddress )
+    {
+        this.nextServerAddress = nextServerAddress;
+    }
+
+
+    /**
+     * Relay agent IP address, used in booting via a relay agent.
+     */
+    public void setRelayAgentAddress( byte[] relayAgentAddress )
+    {
+        this.relayAgentAddress = relayAgentAddress;
+    }
+
+
+    /**
+     * Client hardware address.
+     */
+    public void setClientHardwareAddress( byte[] clientHardwareAddress )
+    {
+        this.clientHardwareAddress = clientHardwareAddress;
+    }
+
+
+    /**
+     * Optional server host name, null terminated string.
+     */
+    public void setServerHostname( byte[] serverHostname )
+    {
+        this.serverHostname = serverHostname;
+    }
+
+
+    /**
+     * Boot file name, null terminated string; "generic" name or null
+     * in DHCPDISCOVER, fully qualified directory-path name in DHCPOFFER.
+     */
+    public void setBootFileName( byte[] bootFileName )
+    {
+        this.bootFileName = bootFileName;
+    }
+
+
+    /**
+     * Optional parameters field.  See the options
+     * documents for a list of defined options.
+     */
+    public void setOptions( OptionsField options )
+    {
+        this.options = options;
+    }
+}

Modified: directory/sandbox/akarasulu/rc1/apacheds/protocol-dhcp/src/main/java/org/apache/directory/server/dhcp/messages/MessageType.java
URL: http://svn.apache.org/viewcvs/directory/sandbox/akarasulu/rc1/apacheds/protocol-dhcp/src/main/java/org/apache/directory/server/dhcp/messages/MessageType.java?rev=376623&r1=376622&r2=376623&view=diff
==============================================================================
--- directory/sandbox/akarasulu/rc1/apacheds/protocol-dhcp/src/main/java/org/apache/directory/server/dhcp/messages/MessageType.java (original)
+++ directory/sandbox/akarasulu/rc1/apacheds/protocol-dhcp/src/main/java/org/apache/directory/server/dhcp/messages/MessageType.java Fri Feb 10 02:48:07 2006
@@ -17,6 +17,7 @@
 
 package org.apache.directory.server.dhcp.messages;
 
+
 import java.util.Arrays;
 import java.util.Collections;
 import java.util.List;
@@ -24,62 +25,66 @@
 
 public final class MessageType implements Comparable
 {
-	/**
-	 * Enumeration elements are constructed once upon class loading.
-	 * Order of appearance here determines the order of compareTo.
-	 */
-	public static final MessageType NULL         = new MessageType( 0, "Null" );
-	public static final MessageType DHCPDISCOVER = new MessageType( 1, "DHCP Discover" );
-	public static final MessageType DHCPOFFER    = new MessageType( 2, "DHCP Offer" );
-	public static final MessageType DHCPREQUEST  = new MessageType( 3, "DHCP Request" );
-	public static final MessageType DHCPDECLINE  = new MessageType( 4, "DHCP Decline" );
-	public static final MessageType DHCPACK      = new MessageType( 5, "DHCP Acknowledge" );
-	public static final MessageType DHCPNAK      = new MessageType( 6, "DHCP Not Acknowledge" );
-	public static final MessageType DHCPRELEASE  = new MessageType( 7, "DHCP Release" );
-	public static final MessageType DHCPINFORM   = new MessageType( 8, "DHCP Inform" );
+    /**
+     * Enumeration elements are constructed once upon class loading.
+     * Order of appearance here determines the order of compareTo.
+     */
+    public static final MessageType NULL = new MessageType( 0, "Null" );
+    public static final MessageType DHCPDISCOVER = new MessageType( 1, "DHCP Discover" );
+    public static final MessageType DHCPOFFER = new MessageType( 2, "DHCP Offer" );
+    public static final MessageType DHCPREQUEST = new MessageType( 3, "DHCP Request" );
+    public static final MessageType DHCPDECLINE = new MessageType( 4, "DHCP Decline" );
+    public static final MessageType DHCPACK = new MessageType( 5, "DHCP Acknowledge" );
+    public static final MessageType DHCPNAK = new MessageType( 6, "DHCP Not Acknowledge" );
+    public static final MessageType DHCPRELEASE = new MessageType( 7, "DHCP Release" );
+    public static final MessageType DHCPINFORM = new MessageType( 8, "DHCP Inform" );
+
 
-	public String toString()
+    public String toString()
     {
-		return name;
-	}
+        return name;
+    }
+
 
-	public int compareTo( Object that )
+    public int compareTo( Object that )
     {
-		return ordinal - ( (MessageType) that ).ordinal;
-	}
+        return ordinal - ( ( MessageType ) that ).ordinal;
+    }
 
-	public static MessageType getTypeByOrdinal( int type )
+
+    public static MessageType getTypeByOrdinal( int type )
     {
-		for ( int ii = 0; ii < values.length; ii++ )
-			if ( values[ ii ].ordinal == type )
-				return values[ ii ];
-		return NULL;
-	}
-	
-	public int getOrdinal()
+        for ( int ii = 0; ii < values.length; ii++ )
+            if ( values[ii].ordinal == type )
+                return values[ii];
+        return NULL;
+    }
+
+
+    public int getOrdinal()
     {
-		return ordinal;
-	}
+        return ordinal;
+    }
+
+    /// PRIVATE /////
+    private final String name;
+    private final int ordinal;
 
-	/// PRIVATE /////
-	private final String name;
-	private final int    ordinal;
-
-	/**
-	 * Private constructor prevents construction outside of this class.
-	 */
-	private MessageType( int ordinal, String name )
+
+    /**
+     * Private constructor prevents construction outside of this class.
+     */
+    private MessageType(int ordinal, String name)
     {
         this.ordinal = ordinal;
-		this.name    = name;
-	}
+        this.name = name;
+    }
 
-	/**
-	 * These two lines are all that's necessary to export a List of VALUES.
-	 */
-	private static final MessageType[] values = { NULL, DHCPDISCOVER, DHCPOFFER,
-			DHCPREQUEST, DHCPDECLINE, DHCPACK, DHCPNAK, DHCPRELEASE, DHCPINFORM };
-	// VALUES needs to be located here, otherwise illegal forward reference
-	public static final List VALUES = Collections.unmodifiableList( Arrays.asList( values ) );
+    /**
+     * These two lines are all that's necessary to export a List of VALUES.
+     */
+    private static final MessageType[] values =
+        { NULL, DHCPDISCOVER, DHCPOFFER, DHCPREQUEST, DHCPDECLINE, DHCPACK, DHCPNAK, DHCPRELEASE, DHCPINFORM };
+    // VALUES needs to be located here, otherwise illegal forward reference
+    public static final List VALUES = Collections.unmodifiableList( Arrays.asList( values ) );
 }
-

Modified: directory/sandbox/akarasulu/rc1/apacheds/protocol-dhcp/src/main/java/org/apache/directory/server/dhcp/options/AddressListOption.java
URL: http://svn.apache.org/viewcvs/directory/sandbox/akarasulu/rc1/apacheds/protocol-dhcp/src/main/java/org/apache/directory/server/dhcp/options/AddressListOption.java?rev=376623&r1=376622&r2=376623&view=diff
==============================================================================
--- directory/sandbox/akarasulu/rc1/apacheds/protocol-dhcp/src/main/java/org/apache/directory/server/dhcp/options/AddressListOption.java (original)
+++ directory/sandbox/akarasulu/rc1/apacheds/protocol-dhcp/src/main/java/org/apache/directory/server/dhcp/options/AddressListOption.java Fri Feb 10 02:48:07 2006
@@ -17,6 +17,7 @@
 
 package org.apache.directory.server.dhcp.options;
 
+
 import java.nio.ByteBuffer;
 
 
@@ -31,17 +32,18 @@
  */
 public abstract class AddressListOption extends DhcpOption
 {
-	private byte[] value;
-	
-	public AddressListOption( int tag, byte[] value )
-	{
-		super( tag, value.length );
-		this.value = value;
-	}
-	
-	protected void valueToByteBuffer( ByteBuffer out )
-	{
-		out.put( value );
-	}
-}
+    private byte[] value;
+
 
+    public AddressListOption(int tag, byte[] value)
+    {
+        super( tag, value.length );
+        this.value = value;
+    }
+
+
+    protected void valueToByteBuffer( ByteBuffer out )
+    {
+        out.put( value );
+    }
+}

Modified: directory/sandbox/akarasulu/rc1/apacheds/protocol-dhcp/src/main/java/org/apache/directory/server/dhcp/options/AddressOption.java
URL: http://svn.apache.org/viewcvs/directory/sandbox/akarasulu/rc1/apacheds/protocol-dhcp/src/main/java/org/apache/directory/server/dhcp/options/AddressOption.java?rev=376623&r1=376622&r2=376623&view=diff
==============================================================================
--- directory/sandbox/akarasulu/rc1/apacheds/protocol-dhcp/src/main/java/org/apache/directory/server/dhcp/options/AddressOption.java (original)
+++ directory/sandbox/akarasulu/rc1/apacheds/protocol-dhcp/src/main/java/org/apache/directory/server/dhcp/options/AddressOption.java Fri Feb 10 02:48:07 2006
@@ -17,6 +17,7 @@
 
 package org.apache.directory.server.dhcp.options;
 
+
 import java.nio.ByteBuffer;
 
 
@@ -31,19 +32,20 @@
  */
 public abstract class AddressOption extends DhcpOption
 {
-	private static final int length = 4;
-	
-	private byte[] value;
-	
-	public AddressOption( int tag, byte[] value )
-	{
-		super( tag, length );
-		this.value = value;
-	}
-	
-	protected void valueToByteBuffer( ByteBuffer out )
-	{
-		out.put( value );
-	}
-}
+    private static final int length = 4;
+
+    private byte[] value;
+
 
+    public AddressOption(int tag, byte[] value)
+    {
+        super( tag, length );
+        this.value = value;
+    }
+
+
+    protected void valueToByteBuffer( ByteBuffer out )
+    {
+        out.put( value );
+    }
+}

Modified: directory/sandbox/akarasulu/rc1/apacheds/protocol-dhcp/src/main/java/org/apache/directory/server/dhcp/options/DhcpOption.java
URL: http://svn.apache.org/viewcvs/directory/sandbox/akarasulu/rc1/apacheds/protocol-dhcp/src/main/java/org/apache/directory/server/dhcp/options/DhcpOption.java?rev=376623&r1=376622&r2=376623&view=diff
==============================================================================
--- directory/sandbox/akarasulu/rc1/apacheds/protocol-dhcp/src/main/java/org/apache/directory/server/dhcp/options/DhcpOption.java (original)
+++ directory/sandbox/akarasulu/rc1/apacheds/protocol-dhcp/src/main/java/org/apache/directory/server/dhcp/options/DhcpOption.java Fri Feb 10 02:48:07 2006
@@ -17,6 +17,7 @@
 
 package org.apache.directory.server.dhcp.options;
 
+
 import java.nio.ByteBuffer;
 
 
@@ -29,23 +30,25 @@
  */
 public abstract class DhcpOption
 {
-	private int tag;
-	private int length;
+    private int tag;
+    private int length;
+
+
+    public DhcpOption(int tag, int length)
+    {
+        this.tag = tag;
+        this.length = length;
+    }
 
-	public DhcpOption( int tag, int length )
-	{
-		this.tag    = tag;
-		this.length = length;
-	}
-	
-	abstract protected void valueToByteBuffer( ByteBuffer out );
-	
-	public void writeTo( ByteBuffer out )
-	{
-		out.put( (byte)tag );
-		out.put( (byte)length );
-		
-		valueToByteBuffer( out );
-	}
-}
 
+    abstract protected void valueToByteBuffer( ByteBuffer out );
+
+
+    public void writeTo( ByteBuffer out )
+    {
+        out.put( ( byte ) tag );
+        out.put( ( byte ) length );
+
+        valueToByteBuffer( out );
+    }
+}

Modified: directory/sandbox/akarasulu/rc1/apacheds/protocol-dhcp/src/main/java/org/apache/directory/server/dhcp/options/OptionsField.java
URL: http://svn.apache.org/viewcvs/directory/sandbox/akarasulu/rc1/apacheds/protocol-dhcp/src/main/java/org/apache/directory/server/dhcp/options/OptionsField.java?rev=376623&r1=376622&r2=376623&view=diff
==============================================================================
--- directory/sandbox/akarasulu/rc1/apacheds/protocol-dhcp/src/main/java/org/apache/directory/server/dhcp/options/OptionsField.java (original)
+++ directory/sandbox/akarasulu/rc1/apacheds/protocol-dhcp/src/main/java/org/apache/directory/server/dhcp/options/OptionsField.java Fri Feb 10 02:48:07 2006
@@ -17,9 +17,11 @@
 
 package org.apache.directory.server.dhcp.options;
 
+
 import java.util.HashSet;
 import java.util.Set;
 
+
 /**
  * The Dynamic Host Configuration Protocol (DHCP) provides a framework
  * for passing configuration information to hosts on a TCP/IP network.  
@@ -29,21 +31,23 @@
  */
 public class OptionsField
 {
-	private Set options = new HashSet();
+    private Set options = new HashSet();
 
-	public void add( DhcpOption option )
-	{
-		options.add( option );
-	}
-	
-	public boolean isEmpty()
-	{
-		return options.isEmpty();
-	}
-
-	public DhcpOption[] toArray()
-	{
-		return (DhcpOption[])options.toArray( new DhcpOption[ options.size() ] );
-	}
-}
 
+    public void add( DhcpOption option )
+    {
+        options.add( option );
+    }
+
+
+    public boolean isEmpty()
+    {
+        return options.isEmpty();
+    }
+
+
+    public DhcpOption[] toArray()
+    {
+        return ( DhcpOption[] ) options.toArray( new DhcpOption[options.size()] );
+    }
+}

Modified: directory/sandbox/akarasulu/rc1/apacheds/protocol-dhcp/src/main/java/org/apache/directory/server/dhcp/options/dhcp/BootfileName.java
URL: http://svn.apache.org/viewcvs/directory/sandbox/akarasulu/rc1/apacheds/protocol-dhcp/src/main/java/org/apache/directory/server/dhcp/options/dhcp/BootfileName.java?rev=376623&r1=376622&r2=376623&view=diff
==============================================================================
--- directory/sandbox/akarasulu/rc1/apacheds/protocol-dhcp/src/main/java/org/apache/directory/server/dhcp/options/dhcp/BootfileName.java (original)
+++ directory/sandbox/akarasulu/rc1/apacheds/protocol-dhcp/src/main/java/org/apache/directory/server/dhcp/options/dhcp/BootfileName.java Fri Feb 10 02:48:07 2006
@@ -17,10 +17,12 @@
 
 package org.apache.directory.server.dhcp.options.dhcp;
 
+
 import java.nio.ByteBuffer;
 
 import org.apache.directory.server.dhcp.options.DhcpOption;
 
+
 /**
  * This option is used to identify a bootfile when the 'file' field in
  * the DHCP header has been used for DHCP options.
@@ -29,17 +31,18 @@
  */
 public class BootfileName extends DhcpOption
 {
-	private byte[] bootFileName;
-	
-	public BootfileName( byte[] bootFileName )
-	{
-		super( 67, 1 );
-		this.bootFileName = bootFileName;
-	}
-	
-	protected void valueToByteBuffer( ByteBuffer out )
-	{
-		out.put( bootFileName );
-	}
-}
+    private byte[] bootFileName;
+
 
+    public BootfileName(byte[] bootFileName)
+    {
+        super( 67, 1 );
+        this.bootFileName = bootFileName;
+    }
+
+
+    protected void valueToByteBuffer( ByteBuffer out )
+    {
+        out.put( bootFileName );
+    }
+}

Modified: directory/sandbox/akarasulu/rc1/apacheds/protocol-dhcp/src/main/java/org/apache/directory/server/dhcp/options/dhcp/ClientIdentifier.java
URL: http://svn.apache.org/viewcvs/directory/sandbox/akarasulu/rc1/apacheds/protocol-dhcp/src/main/java/org/apache/directory/server/dhcp/options/dhcp/ClientIdentifier.java?rev=376623&r1=376622&r2=376623&view=diff
==============================================================================
--- directory/sandbox/akarasulu/rc1/apacheds/protocol-dhcp/src/main/java/org/apache/directory/server/dhcp/options/dhcp/ClientIdentifier.java (original)
+++ directory/sandbox/akarasulu/rc1/apacheds/protocol-dhcp/src/main/java/org/apache/directory/server/dhcp/options/dhcp/ClientIdentifier.java Fri Feb 10 02:48:07 2006
@@ -17,10 +17,12 @@
 
 package org.apache.directory.server.dhcp.options.dhcp;
 
+
 import java.nio.ByteBuffer;
 
 import org.apache.directory.server.dhcp.options.DhcpOption;
 
+
 /**
  * This option is used by DHCP clients to specify their unique
  * identifier.  DHCP servers use this value to index their database of
@@ -47,17 +49,18 @@
  */
 public class ClientIdentifier extends DhcpOption
 {
-	private byte[] clientIdentifier;
-	
-	public ClientIdentifier( byte[] clientIdentifier )
-	{
-		super( 61, 2 );
-		this.clientIdentifier = clientIdentifier;
-	}
-	
-	protected void valueToByteBuffer( ByteBuffer out )
-	{
-		out.put( clientIdentifier );
-	}
-}
+    private byte[] clientIdentifier;
+
 
+    public ClientIdentifier(byte[] clientIdentifier)
+    {
+        super( 61, 2 );
+        this.clientIdentifier = clientIdentifier;
+    }
+
+
+    protected void valueToByteBuffer( ByteBuffer out )
+    {
+        out.put( clientIdentifier );
+    }
+}

Modified: directory/sandbox/akarasulu/rc1/apacheds/protocol-dhcp/src/main/java/org/apache/directory/server/dhcp/options/dhcp/DhcpMessageType.java
URL: http://svn.apache.org/viewcvs/directory/sandbox/akarasulu/rc1/apacheds/protocol-dhcp/src/main/java/org/apache/directory/server/dhcp/options/dhcp/DhcpMessageType.java?rev=376623&r1=376622&r2=376623&view=diff
==============================================================================
--- directory/sandbox/akarasulu/rc1/apacheds/protocol-dhcp/src/main/java/org/apache/directory/server/dhcp/options/dhcp/DhcpMessageType.java (original)
+++ directory/sandbox/akarasulu/rc1/apacheds/protocol-dhcp/src/main/java/org/apache/directory/server/dhcp/options/dhcp/DhcpMessageType.java Fri Feb 10 02:48:07 2006
@@ -17,10 +17,12 @@
 
 package org.apache.directory.server.dhcp.options.dhcp;
 
+
 import java.nio.ByteBuffer;
 
 import org.apache.directory.server.dhcp.options.DhcpOption;
 
+
 /**
  * This option is used to convey the type of the DHCP message.  The code
  * for this option is 53, and its length is 1.  Legal values for this
@@ -39,17 +41,18 @@
  */
 public class DhcpMessageType extends DhcpOption
 {
-	private byte[] messageType;
-	
-	public DhcpMessageType( byte[] messageType )
-	{
-		super( 53, 1 );
-		this.messageType = messageType;
-	}
-	
-	protected void valueToByteBuffer( ByteBuffer out )
-	{
-		out.put( messageType );
-	}
-}
+    private byte[] messageType;
+
 
+    public DhcpMessageType(byte[] messageType)
+    {
+        super( 53, 1 );
+        this.messageType = messageType;
+    }
+
+
+    protected void valueToByteBuffer( ByteBuffer out )
+    {
+        out.put( messageType );
+    }
+}

Modified: directory/sandbox/akarasulu/rc1/apacheds/protocol-dhcp/src/main/java/org/apache/directory/server/dhcp/options/dhcp/IpAddressLeaseTime.java
URL: http://svn.apache.org/viewcvs/directory/sandbox/akarasulu/rc1/apacheds/protocol-dhcp/src/main/java/org/apache/directory/server/dhcp/options/dhcp/IpAddressLeaseTime.java?rev=376623&r1=376622&r2=376623&view=diff
==============================================================================
--- directory/sandbox/akarasulu/rc1/apacheds/protocol-dhcp/src/main/java/org/apache/directory/server/dhcp/options/dhcp/IpAddressLeaseTime.java (original)
+++ directory/sandbox/akarasulu/rc1/apacheds/protocol-dhcp/src/main/java/org/apache/directory/server/dhcp/options/dhcp/IpAddressLeaseTime.java Fri Feb 10 02:48:07 2006
@@ -17,10 +17,12 @@
 
 package org.apache.directory.server.dhcp.options.dhcp;
 
+
 import java.nio.ByteBuffer;
 
 import org.apache.directory.server.dhcp.options.DhcpOption;
 
+
 /**
  * This option is used in a client request (DHCPDISCOVER or DHCPREQUEST)
  * to allow the client to request a lease time for the IP address.  In a
@@ -34,17 +36,18 @@
  */
 public class IpAddressLeaseTime extends DhcpOption
 {
-	private byte[] ipAddressLeaseTime;
-	
-	public IpAddressLeaseTime( byte[] ipAddressLeaseTime )
-	{
-		super( 51, 4 );
-		this.ipAddressLeaseTime = ipAddressLeaseTime;
-	}
-	
-	protected void valueToByteBuffer( ByteBuffer out )
-	{
-		out.put( ipAddressLeaseTime );
-	}
-}
+    private byte[] ipAddressLeaseTime;
+
 
+    public IpAddressLeaseTime(byte[] ipAddressLeaseTime)
+    {
+        super( 51, 4 );
+        this.ipAddressLeaseTime = ipAddressLeaseTime;
+    }
+
+
+    protected void valueToByteBuffer( ByteBuffer out )
+    {
+        out.put( ipAddressLeaseTime );
+    }
+}

Modified: directory/sandbox/akarasulu/rc1/apacheds/protocol-dhcp/src/main/java/org/apache/directory/server/dhcp/options/dhcp/MaximumDhcpMessageSize.java
URL: http://svn.apache.org/viewcvs/directory/sandbox/akarasulu/rc1/apacheds/protocol-dhcp/src/main/java/org/apache/directory/server/dhcp/options/dhcp/MaximumDhcpMessageSize.java?rev=376623&r1=376622&r2=376623&view=diff
==============================================================================
--- directory/sandbox/akarasulu/rc1/apacheds/protocol-dhcp/src/main/java/org/apache/directory/server/dhcp/options/dhcp/MaximumDhcpMessageSize.java (original)
+++ directory/sandbox/akarasulu/rc1/apacheds/protocol-dhcp/src/main/java/org/apache/directory/server/dhcp/options/dhcp/MaximumDhcpMessageSize.java Fri Feb 10 02:48:07 2006
@@ -17,10 +17,12 @@
 
 package org.apache.directory.server.dhcp.options.dhcp;
 
+
 import java.nio.ByteBuffer;
 
 import org.apache.directory.server.dhcp.options.DhcpOption;
 
+
 /**
  * This option specifies the maximum length DHCP message that it is
  * willing to accept.  The length is specified as an unsigned 16-bit
@@ -33,17 +35,18 @@
  */
 public class MaximumDhcpMessageSize extends DhcpOption
 {
-	private byte[] maximumDhcpMessageSize;
-	
-	public MaximumDhcpMessageSize( byte[] maximumDhcpMessageSize )
-	{
-		super( 57, 2 );
-		this.maximumDhcpMessageSize = maximumDhcpMessageSize;
-	}
-	
-	protected void valueToByteBuffer( ByteBuffer out )
-	{
-		out.put( maximumDhcpMessageSize );
-	}
-}
+    private byte[] maximumDhcpMessageSize;
+
 
+    public MaximumDhcpMessageSize(byte[] maximumDhcpMessageSize)
+    {
+        super( 57, 2 );
+        this.maximumDhcpMessageSize = maximumDhcpMessageSize;
+    }
+
+
+    protected void valueToByteBuffer( ByteBuffer out )
+    {
+        out.put( maximumDhcpMessageSize );
+    }
+}

Modified: directory/sandbox/akarasulu/rc1/apacheds/protocol-dhcp/src/main/java/org/apache/directory/server/dhcp/options/dhcp/Message.java
URL: http://svn.apache.org/viewcvs/directory/sandbox/akarasulu/rc1/apacheds/protocol-dhcp/src/main/java/org/apache/directory/server/dhcp/options/dhcp/Message.java?rev=376623&r1=376622&r2=376623&view=diff
==============================================================================
--- directory/sandbox/akarasulu/rc1/apacheds/protocol-dhcp/src/main/java/org/apache/directory/server/dhcp/options/dhcp/Message.java (original)
+++ directory/sandbox/akarasulu/rc1/apacheds/protocol-dhcp/src/main/java/org/apache/directory/server/dhcp/options/dhcp/Message.java Fri Feb 10 02:48:07 2006
@@ -17,10 +17,12 @@
 
 package org.apache.directory.server.dhcp.options.dhcp;
 
+
 import java.nio.ByteBuffer;
 
 import org.apache.directory.server.dhcp.options.DhcpOption;
 
+
 /**
  * This option is used by a DHCP server to provide an error message to a
  * DHCP client in a DHCPNAK message in the event of a failure. A client
@@ -33,17 +35,18 @@
  */
 public class Message extends DhcpOption
 {
-	private byte[] message;
-	
-	public Message( byte[] message )
-	{
-		super( 56, 1 );
-		this.message = message;
-	}
-	
-	protected void valueToByteBuffer( ByteBuffer out )
-	{
-		out.put( message );
-	}
-}
+    private byte[] message;
+
 
+    public Message(byte[] message)
+    {
+        super( 56, 1 );
+        this.message = message;
+    }
+
+
+    protected void valueToByteBuffer( ByteBuffer out )
+    {
+        out.put( message );
+    }
+}

Modified: directory/sandbox/akarasulu/rc1/apacheds/protocol-dhcp/src/main/java/org/apache/directory/server/dhcp/options/dhcp/OptionOverload.java
URL: http://svn.apache.org/viewcvs/directory/sandbox/akarasulu/rc1/apacheds/protocol-dhcp/src/main/java/org/apache/directory/server/dhcp/options/dhcp/OptionOverload.java?rev=376623&r1=376622&r2=376623&view=diff
==============================================================================
--- directory/sandbox/akarasulu/rc1/apacheds/protocol-dhcp/src/main/java/org/apache/directory/server/dhcp/options/dhcp/OptionOverload.java (original)
+++ directory/sandbox/akarasulu/rc1/apacheds/protocol-dhcp/src/main/java/org/apache/directory/server/dhcp/options/dhcp/OptionOverload.java Fri Feb 10 02:48:07 2006
@@ -17,10 +17,12 @@
 
 package org.apache.directory.server.dhcp.options.dhcp;
 
+
 import java.nio.ByteBuffer;
 
 import org.apache.directory.server.dhcp.options.DhcpOption;
 
+
 /**
  * This option is used to indicate that the DHCP 'sname' or 'file'
  * fields are being overloaded by using them to carry DHCP options. A
@@ -42,17 +44,18 @@
  */
 public class OptionOverload extends DhcpOption
 {
-	private byte[] optionOverload;
-	
-	public OptionOverload( byte[] optionOverload )
-	{
-		super( 52, 1 );
-		this.optionOverload = optionOverload;
-	}
-	
-	protected void valueToByteBuffer( ByteBuffer out )
-	{
-		out.put( optionOverload );
-	}
-}
+    private byte[] optionOverload;
+
 
+    public OptionOverload(byte[] optionOverload)
+    {
+        super( 52, 1 );
+        this.optionOverload = optionOverload;
+    }
+
+
+    protected void valueToByteBuffer( ByteBuffer out )
+    {
+        out.put( optionOverload );
+    }
+}

Modified: directory/sandbox/akarasulu/rc1/apacheds/protocol-dhcp/src/main/java/org/apache/directory/server/dhcp/options/dhcp/ParameterRequestList.java
URL: http://svn.apache.org/viewcvs/directory/sandbox/akarasulu/rc1/apacheds/protocol-dhcp/src/main/java/org/apache/directory/server/dhcp/options/dhcp/ParameterRequestList.java?rev=376623&r1=376622&r2=376623&view=diff
==============================================================================
--- directory/sandbox/akarasulu/rc1/apacheds/protocol-dhcp/src/main/java/org/apache/directory/server/dhcp/options/dhcp/ParameterRequestList.java (original)
+++ directory/sandbox/akarasulu/rc1/apacheds/protocol-dhcp/src/main/java/org/apache/directory/server/dhcp/options/dhcp/ParameterRequestList.java Fri Feb 10 02:48:07 2006
@@ -17,10 +17,12 @@
 
 package org.apache.directory.server.dhcp.options.dhcp;
 
+
 import java.nio.ByteBuffer;
 
 import org.apache.directory.server.dhcp.options.DhcpOption;
 
+
 /**
  * This option is used by a DHCP client to request values for specified
  * configuration parameters.  The list of requested parameters is
@@ -36,17 +38,18 @@
  */
 public class ParameterRequestList extends DhcpOption
 {
-	private byte[] parameterRequestList;
-	
-	public ParameterRequestList( byte[] parameterRequestList )
-	{
-		super( 55, 1 );
-		this.parameterRequestList = parameterRequestList;
-	}
-	
-	protected void valueToByteBuffer( ByteBuffer out )
-	{
-		out.put( parameterRequestList );
-	}
-}
+    private byte[] parameterRequestList;
+
 
+    public ParameterRequestList(byte[] parameterRequestList)
+    {
+        super( 55, 1 );
+        this.parameterRequestList = parameterRequestList;
+    }
+
+
+    protected void valueToByteBuffer( ByteBuffer out )
+    {
+        out.put( parameterRequestList );
+    }
+}

Modified: directory/sandbox/akarasulu/rc1/apacheds/protocol-dhcp/src/main/java/org/apache/directory/server/dhcp/options/dhcp/RebindingTimeValue.java
URL: http://svn.apache.org/viewcvs/directory/sandbox/akarasulu/rc1/apacheds/protocol-dhcp/src/main/java/org/apache/directory/server/dhcp/options/dhcp/RebindingTimeValue.java?rev=376623&r1=376622&r2=376623&view=diff
==============================================================================
--- directory/sandbox/akarasulu/rc1/apacheds/protocol-dhcp/src/main/java/org/apache/directory/server/dhcp/options/dhcp/RebindingTimeValue.java (original)
+++ directory/sandbox/akarasulu/rc1/apacheds/protocol-dhcp/src/main/java/org/apache/directory/server/dhcp/options/dhcp/RebindingTimeValue.java Fri Feb 10 02:48:07 2006
@@ -17,10 +17,12 @@
 
 package org.apache.directory.server.dhcp.options.dhcp;
 
+
 import java.nio.ByteBuffer;
 
 import org.apache.directory.server.dhcp.options.DhcpOption;
 
+
 /**
  * This option specifies the time interval from address assignment until
  * the client transitions to the REBINDING state.
@@ -32,17 +34,18 @@
  */
 public class RebindingTimeValue extends DhcpOption
 {
-	private int rebindingTimeValue;
-	
-	public RebindingTimeValue( int rebindingTimeValue )
-	{
-		super( 59, 4 );
-		this.rebindingTimeValue = rebindingTimeValue;
-	}
-	
-	protected void valueToByteBuffer( ByteBuffer out )
-	{
-		out.putInt( rebindingTimeValue );
-	}
-}
+    private int rebindingTimeValue;
+
 
+    public RebindingTimeValue(int rebindingTimeValue)
+    {
+        super( 59, 4 );
+        this.rebindingTimeValue = rebindingTimeValue;
+    }
+
+
+    protected void valueToByteBuffer( ByteBuffer out )
+    {
+        out.putInt( rebindingTimeValue );
+    }
+}

Modified: directory/sandbox/akarasulu/rc1/apacheds/protocol-dhcp/src/main/java/org/apache/directory/server/dhcp/options/dhcp/RenewalTimeValue.java
URL: http://svn.apache.org/viewcvs/directory/sandbox/akarasulu/rc1/apacheds/protocol-dhcp/src/main/java/org/apache/directory/server/dhcp/options/dhcp/RenewalTimeValue.java?rev=376623&r1=376622&r2=376623&view=diff
==============================================================================
--- directory/sandbox/akarasulu/rc1/apacheds/protocol-dhcp/src/main/java/org/apache/directory/server/dhcp/options/dhcp/RenewalTimeValue.java (original)
+++ directory/sandbox/akarasulu/rc1/apacheds/protocol-dhcp/src/main/java/org/apache/directory/server/dhcp/options/dhcp/RenewalTimeValue.java Fri Feb 10 02:48:07 2006
@@ -17,10 +17,12 @@
 
 package org.apache.directory.server.dhcp.options.dhcp;
 
+
 import java.nio.ByteBuffer;
 
 import org.apache.directory.server.dhcp.options.DhcpOption;
 
+
 /**
  * This option specifies the time interval from address assignment until
  * the client transitions to the RENEWING state.
@@ -32,17 +34,18 @@
  */
 public class RenewalTimeValue extends DhcpOption
 {
-	private int renewalTimeValue;
-	
-	public RenewalTimeValue( int renewalTimeValue )
-	{
-		super( 58, 4 );
-		this.renewalTimeValue = renewalTimeValue;
-	}
-	
-	protected void valueToByteBuffer( ByteBuffer out )
-	{
-		out.putInt( renewalTimeValue );
-	}
-}
+    private int renewalTimeValue;
+
 
+    public RenewalTimeValue(int renewalTimeValue)
+    {
+        super( 58, 4 );
+        this.renewalTimeValue = renewalTimeValue;
+    }
+
+
+    protected void valueToByteBuffer( ByteBuffer out )
+    {
+        out.putInt( renewalTimeValue );
+    }
+}

Modified: directory/sandbox/akarasulu/rc1/apacheds/protocol-dhcp/src/main/java/org/apache/directory/server/dhcp/options/dhcp/RequestedIpAddress.java
URL: http://svn.apache.org/viewcvs/directory/sandbox/akarasulu/rc1/apacheds/protocol-dhcp/src/main/java/org/apache/directory/server/dhcp/options/dhcp/RequestedIpAddress.java?rev=376623&r1=376622&r2=376623&view=diff
==============================================================================
--- directory/sandbox/akarasulu/rc1/apacheds/protocol-dhcp/src/main/java/org/apache/directory/server/dhcp/options/dhcp/RequestedIpAddress.java (original)
+++ directory/sandbox/akarasulu/rc1/apacheds/protocol-dhcp/src/main/java/org/apache/directory/server/dhcp/options/dhcp/RequestedIpAddress.java Fri Feb 10 02:48:07 2006
@@ -17,8 +17,10 @@
 
 package org.apache.directory.server.dhcp.options.dhcp;
 
+
 import org.apache.directory.server.dhcp.options.AddressOption;
 
+
 /**
  * This option is used in a client request (DHCPDISCOVER) to allow the
  * client to request that a particular IP address be assigned.
@@ -27,9 +29,8 @@
  */
 public class RequestedIpAddress extends AddressOption
 {
-	public RequestedIpAddress( byte[] requestedIpAddress )
-	{
-		super( 50, requestedIpAddress );
-	}
+    public RequestedIpAddress(byte[] requestedIpAddress)
+    {
+        super( 50, requestedIpAddress );
+    }
 }
-

Modified: directory/sandbox/akarasulu/rc1/apacheds/protocol-dhcp/src/main/java/org/apache/directory/server/dhcp/options/dhcp/ServerIdentifier.java
URL: http://svn.apache.org/viewcvs/directory/sandbox/akarasulu/rc1/apacheds/protocol-dhcp/src/main/java/org/apache/directory/server/dhcp/options/dhcp/ServerIdentifier.java?rev=376623&r1=376622&r2=376623&view=diff
==============================================================================
--- directory/sandbox/akarasulu/rc1/apacheds/protocol-dhcp/src/main/java/org/apache/directory/server/dhcp/options/dhcp/ServerIdentifier.java (original)
+++ directory/sandbox/akarasulu/rc1/apacheds/protocol-dhcp/src/main/java/org/apache/directory/server/dhcp/options/dhcp/ServerIdentifier.java Fri Feb 10 02:48:07 2006
@@ -17,8 +17,10 @@
 
 package org.apache.directory.server.dhcp.options.dhcp;
 
+
 import org.apache.directory.server.dhcp.options.AddressOption;
 
+
 /**
  * This option is used in DHCPOFFER and DHCPREQUEST messages, and may
  * optionally be included in the DHCPACK and DHCPNAK messages.  DHCP
@@ -35,9 +37,8 @@
  */
 public class ServerIdentifier extends AddressOption
 {
-	public ServerIdentifier( byte[] serverIdentifier )
-	{
-		super( 54, serverIdentifier );
-	}
+    public ServerIdentifier(byte[] serverIdentifier)
+    {
+        super( 54, serverIdentifier );
+    }
 }
-

Modified: directory/sandbox/akarasulu/rc1/apacheds/protocol-dhcp/src/main/java/org/apache/directory/server/dhcp/options/dhcp/TftpServerName.java
URL: http://svn.apache.org/viewcvs/directory/sandbox/akarasulu/rc1/apacheds/protocol-dhcp/src/main/java/org/apache/directory/server/dhcp/options/dhcp/TftpServerName.java?rev=376623&r1=376622&r2=376623&view=diff
==============================================================================
--- directory/sandbox/akarasulu/rc1/apacheds/protocol-dhcp/src/main/java/org/apache/directory/server/dhcp/options/dhcp/TftpServerName.java (original)
+++ directory/sandbox/akarasulu/rc1/apacheds/protocol-dhcp/src/main/java/org/apache/directory/server/dhcp/options/dhcp/TftpServerName.java Fri Feb 10 02:48:07 2006
@@ -17,10 +17,12 @@
 
 package org.apache.directory.server.dhcp.options.dhcp;
 
+
 import java.nio.ByteBuffer;
 
 import org.apache.directory.server.dhcp.options.DhcpOption;
 
+
 /**
  * This option is used to identify a TFTP server when the 'sname' field
  * in the DHCP header has been used for DHCP options.
@@ -29,17 +31,18 @@
  */
 public class TftpServerName extends DhcpOption
 {
-	private byte[] tftpServerName;
-	
-	public TftpServerName( byte[] tftpServerName )
-	{
-		super( 66, 1 );
-		this.tftpServerName = tftpServerName;
-	}
-	
-	protected void valueToByteBuffer( ByteBuffer out )
-	{
-		out.put( tftpServerName );
-	}
-}
+    private byte[] tftpServerName;
+
 
+    public TftpServerName(byte[] tftpServerName)
+    {
+        super( 66, 1 );
+        this.tftpServerName = tftpServerName;
+    }
+
+
+    protected void valueToByteBuffer( ByteBuffer out )
+    {
+        out.put( tftpServerName );
+    }
+}

Modified: directory/sandbox/akarasulu/rc1/apacheds/protocol-dhcp/src/main/java/org/apache/directory/server/dhcp/options/dhcp/VendorClassIdentifier.java
URL: http://svn.apache.org/viewcvs/directory/sandbox/akarasulu/rc1/apacheds/protocol-dhcp/src/main/java/org/apache/directory/server/dhcp/options/dhcp/VendorClassIdentifier.java?rev=376623&r1=376622&r2=376623&view=diff
==============================================================================
--- directory/sandbox/akarasulu/rc1/apacheds/protocol-dhcp/src/main/java/org/apache/directory/server/dhcp/options/dhcp/VendorClassIdentifier.java (original)
+++ directory/sandbox/akarasulu/rc1/apacheds/protocol-dhcp/src/main/java/org/apache/directory/server/dhcp/options/dhcp/VendorClassIdentifier.java Fri Feb 10 02:48:07 2006
@@ -17,10 +17,12 @@
 
 package org.apache.directory.server.dhcp.options.dhcp;
 
+
 import java.nio.ByteBuffer;
 
 import org.apache.directory.server.dhcp.options.DhcpOption;
 
+
 /**
  * This option is used by DHCP clients to optionally identify the vendor
  * type and configuration of a DHCP client.  The information is a string
@@ -38,17 +40,18 @@
  */
 public class VendorClassIdentifier extends DhcpOption
 {
-	private byte[] vendorClassIdentifier;
-	
-	public VendorClassIdentifier( byte[] vendorClassIdentifier )
-	{
-		super( 60, 1 );
-		this.vendorClassIdentifier = vendorClassIdentifier;
-	}
-	
-	protected void valueToByteBuffer( ByteBuffer out )
-	{
-		out.put( vendorClassIdentifier );
-	}
-}
+    private byte[] vendorClassIdentifier;
+
 
+    public VendorClassIdentifier(byte[] vendorClassIdentifier)
+    {
+        super( 60, 1 );
+        this.vendorClassIdentifier = vendorClassIdentifier;
+    }
+
+
+    protected void valueToByteBuffer( ByteBuffer out )
+    {
+        out.put( vendorClassIdentifier );
+    }
+}

Modified: directory/sandbox/akarasulu/rc1/apacheds/protocol-dhcp/src/main/java/org/apache/directory/server/dhcp/options/linklayer/ArpCacheTimeout.java
URL: http://svn.apache.org/viewcvs/directory/sandbox/akarasulu/rc1/apacheds/protocol-dhcp/src/main/java/org/apache/directory/server/dhcp/options/linklayer/ArpCacheTimeout.java?rev=376623&r1=376622&r2=376623&view=diff
==============================================================================
--- directory/sandbox/akarasulu/rc1/apacheds/protocol-dhcp/src/main/java/org/apache/directory/server/dhcp/options/linklayer/ArpCacheTimeout.java (original)
+++ directory/sandbox/akarasulu/rc1/apacheds/protocol-dhcp/src/main/java/org/apache/directory/server/dhcp/options/linklayer/ArpCacheTimeout.java Fri Feb 10 02:48:07 2006
@@ -17,10 +17,12 @@
 
 package org.apache.directory.server.dhcp.options.linklayer;
 
+
 import java.nio.ByteBuffer;
 
 import org.apache.directory.server.dhcp.options.DhcpOption;
 
+
 /**
  * This option specifies the timeout in seconds for ARP cache entries.
  * The time is specified as a 32-bit unsigned integer.
@@ -29,17 +31,18 @@
  */
 public class ArpCacheTimeout extends DhcpOption
 {
-	private byte[] arpCacheTimeout;
-	
-	public ArpCacheTimeout( byte[] arpCacheTimeout )
-	{
-		super( 35, 4 );
-		this.arpCacheTimeout = arpCacheTimeout;
-	}
-	
-	protected void valueToByteBuffer( ByteBuffer out )
-	{
-		out.put( arpCacheTimeout );
-	}
-}
+    private byte[] arpCacheTimeout;
+
 
+    public ArpCacheTimeout(byte[] arpCacheTimeout)
+    {
+        super( 35, 4 );
+        this.arpCacheTimeout = arpCacheTimeout;
+    }
+
+
+    protected void valueToByteBuffer( ByteBuffer out )
+    {
+        out.put( arpCacheTimeout );
+    }
+}

Modified: directory/sandbox/akarasulu/rc1/apacheds/protocol-dhcp/src/main/java/org/apache/directory/server/dhcp/options/linklayer/EthernetEncapsulation.java
URL: http://svn.apache.org/viewcvs/directory/sandbox/akarasulu/rc1/apacheds/protocol-dhcp/src/main/java/org/apache/directory/server/dhcp/options/linklayer/EthernetEncapsulation.java?rev=376623&r1=376622&r2=376623&view=diff
==============================================================================
--- directory/sandbox/akarasulu/rc1/apacheds/protocol-dhcp/src/main/java/org/apache/directory/server/dhcp/options/linklayer/EthernetEncapsulation.java (original)
+++ directory/sandbox/akarasulu/rc1/apacheds/protocol-dhcp/src/main/java/org/apache/directory/server/dhcp/options/linklayer/EthernetEncapsulation.java Fri Feb 10 02:48:07 2006
@@ -17,10 +17,12 @@
 
 package org.apache.directory.server.dhcp.options.linklayer;
 
+
 import java.nio.ByteBuffer;
 
 import org.apache.directory.server.dhcp.options.DhcpOption;
 
+
 /**
  * This option specifies whether or not the client should use Ethernet
  * Version 2 (RFC 894) or IEEE 802.3 (RFC 1042) encapsulation
@@ -32,17 +34,18 @@
  */
 public class EthernetEncapsulation extends DhcpOption
 {
-	private byte[] ethernetEncapsulation;
-	
-	public EthernetEncapsulation( byte[] ethernetEncapsulation )
-	{
-		super( 36, 1 );
-		this.ethernetEncapsulation = ethernetEncapsulation;
-	}
-	
-	protected void valueToByteBuffer( ByteBuffer out )
-	{
-		out.put( ethernetEncapsulation );
-	}
-}
+    private byte[] ethernetEncapsulation;
+
 
+    public EthernetEncapsulation(byte[] ethernetEncapsulation)
+    {
+        super( 36, 1 );
+        this.ethernetEncapsulation = ethernetEncapsulation;
+    }
+
+
+    protected void valueToByteBuffer( ByteBuffer out )
+    {
+        out.put( ethernetEncapsulation );
+    }
+}

Modified: directory/sandbox/akarasulu/rc1/apacheds/protocol-dhcp/src/main/java/org/apache/directory/server/dhcp/options/linklayer/TrailerEncapsulation.java
URL: http://svn.apache.org/viewcvs/directory/sandbox/akarasulu/rc1/apacheds/protocol-dhcp/src/main/java/org/apache/directory/server/dhcp/options/linklayer/TrailerEncapsulation.java?rev=376623&r1=376622&r2=376623&view=diff
==============================================================================
--- directory/sandbox/akarasulu/rc1/apacheds/protocol-dhcp/src/main/java/org/apache/directory/server/dhcp/options/linklayer/TrailerEncapsulation.java (original)
+++ directory/sandbox/akarasulu/rc1/apacheds/protocol-dhcp/src/main/java/org/apache/directory/server/dhcp/options/linklayer/TrailerEncapsulation.java Fri Feb 10 02:48:07 2006
@@ -17,10 +17,12 @@
 
 package org.apache.directory.server.dhcp.options.linklayer;
 
+
 import java.nio.ByteBuffer;
 
 import org.apache.directory.server.dhcp.options.DhcpOption;
 
+
 /**
  * This option specifies whether or not the client should negotiate the
  * use of trailers (RFC 893) when using the ARP protocol.  A value
@@ -31,17 +33,18 @@
  */
 public class TrailerEncapsulation extends DhcpOption
 {
-	private byte[] trailerEncapsulation;
-	
-	public TrailerEncapsulation( byte[] trailerEncapsulation )
-	{
-		super( 34, 1 );
-		this.trailerEncapsulation = trailerEncapsulation;
-	}
-	
-	protected void valueToByteBuffer( ByteBuffer out )
-	{
-		out.put( trailerEncapsulation );
-	}
-}
+    private byte[] trailerEncapsulation;
+
 
+    public TrailerEncapsulation(byte[] trailerEncapsulation)
+    {
+        super( 34, 1 );
+        this.trailerEncapsulation = trailerEncapsulation;
+    }
+
+
+    protected void valueToByteBuffer( ByteBuffer out )
+    {
+        out.put( trailerEncapsulation );
+    }
+}

Modified: directory/sandbox/akarasulu/rc1/apacheds/protocol-dhcp/src/main/java/org/apache/directory/server/dhcp/options/misc/DefaultFingerServers.java
URL: http://svn.apache.org/viewcvs/directory/sandbox/akarasulu/rc1/apacheds/protocol-dhcp/src/main/java/org/apache/directory/server/dhcp/options/misc/DefaultFingerServers.java?rev=376623&r1=376622&r2=376623&view=diff
==============================================================================
--- directory/sandbox/akarasulu/rc1/apacheds/protocol-dhcp/src/main/java/org/apache/directory/server/dhcp/options/misc/DefaultFingerServers.java (original)
+++ directory/sandbox/akarasulu/rc1/apacheds/protocol-dhcp/src/main/java/org/apache/directory/server/dhcp/options/misc/DefaultFingerServers.java Fri Feb 10 02:48:07 2006
@@ -17,8 +17,10 @@
 
 package org.apache.directory.server.dhcp.options.misc;
 
+
 import org.apache.directory.server.dhcp.options.AddressListOption;
 
+
 /**
  * The Finger server option specifies a list of Finger available to the
  * client.  Servers SHOULD be listed in order of preference.
@@ -29,9 +31,8 @@
  */
 public class DefaultFingerServers extends AddressListOption
 {
-	public DefaultFingerServers( byte[] defaultFingerServer )
-	{
-		super( 73, defaultFingerServer );
-	}
+    public DefaultFingerServers(byte[] defaultFingerServer)
+    {
+        super( 73, defaultFingerServer );
+    }
 }
-

Modified: directory/sandbox/akarasulu/rc1/apacheds/protocol-dhcp/src/main/java/org/apache/directory/server/dhcp/options/misc/DefaultIrcServers.java
URL: http://svn.apache.org/viewcvs/directory/sandbox/akarasulu/rc1/apacheds/protocol-dhcp/src/main/java/org/apache/directory/server/dhcp/options/misc/DefaultIrcServers.java?rev=376623&r1=376622&r2=376623&view=diff
==============================================================================
--- directory/sandbox/akarasulu/rc1/apacheds/protocol-dhcp/src/main/java/org/apache/directory/server/dhcp/options/misc/DefaultIrcServers.java (original)
+++ directory/sandbox/akarasulu/rc1/apacheds/protocol-dhcp/src/main/java/org/apache/directory/server/dhcp/options/misc/DefaultIrcServers.java Fri Feb 10 02:48:07 2006
@@ -17,8 +17,10 @@
 
 package org.apache.directory.server.dhcp.options.misc;
 
+
 import org.apache.directory.server.dhcp.options.AddressListOption;
 
+
 /**
  * The IRC server option specifies a list of IRC available to the
  * client.  Servers SHOULD be listed in order of preference.
@@ -29,9 +31,8 @@
  */
 public class DefaultIrcServers extends AddressListOption
 {
-	public DefaultIrcServers( byte[] defaultIrcServer )
-	{
-		super( 74, defaultIrcServer );
-	}
+    public DefaultIrcServers(byte[] defaultIrcServer)
+    {
+        super( 74, defaultIrcServer );
+    }
 }
-

Modified: directory/sandbox/akarasulu/rc1/apacheds/protocol-dhcp/src/main/java/org/apache/directory/server/dhcp/options/misc/DefaultWwwServers.java
URL: http://svn.apache.org/viewcvs/directory/sandbox/akarasulu/rc1/apacheds/protocol-dhcp/src/main/java/org/apache/directory/server/dhcp/options/misc/DefaultWwwServers.java?rev=376623&r1=376622&r2=376623&view=diff
==============================================================================
--- directory/sandbox/akarasulu/rc1/apacheds/protocol-dhcp/src/main/java/org/apache/directory/server/dhcp/options/misc/DefaultWwwServers.java (original)
+++ directory/sandbox/akarasulu/rc1/apacheds/protocol-dhcp/src/main/java/org/apache/directory/server/dhcp/options/misc/DefaultWwwServers.java Fri Feb 10 02:48:07 2006
@@ -17,8 +17,10 @@
 
 package org.apache.directory.server.dhcp.options.misc;
 
+
 import org.apache.directory.server.dhcp.options.AddressListOption;
 
+
 /**
  * The WWW server option specifies a list of WWW available to the
  * client.  Servers SHOULD be listed in order of preference.
@@ -29,9 +31,8 @@
  */
 public class DefaultWwwServers extends AddressListOption
 {
-	public DefaultWwwServers( byte[] defaultWwwServer )
-	{
-		super( 72, defaultWwwServer );
-	}
+    public DefaultWwwServers(byte[] defaultWwwServer)
+    {
+        super( 72, defaultWwwServer );
+    }
 }
-

Modified: directory/sandbox/akarasulu/rc1/apacheds/protocol-dhcp/src/main/java/org/apache/directory/server/dhcp/options/misc/MobileIpHomeAgents.java
URL: http://svn.apache.org/viewcvs/directory/sandbox/akarasulu/rc1/apacheds/protocol-dhcp/src/main/java/org/apache/directory/server/dhcp/options/misc/MobileIpHomeAgents.java?rev=376623&r1=376622&r2=376623&view=diff
==============================================================================
--- directory/sandbox/akarasulu/rc1/apacheds/protocol-dhcp/src/main/java/org/apache/directory/server/dhcp/options/misc/MobileIpHomeAgents.java (original)
+++ directory/sandbox/akarasulu/rc1/apacheds/protocol-dhcp/src/main/java/org/apache/directory/server/dhcp/options/misc/MobileIpHomeAgents.java Fri Feb 10 02:48:07 2006
@@ -17,8 +17,10 @@
 
 package org.apache.directory.server.dhcp.options.misc;
 
+
 import org.apache.directory.server.dhcp.options.AddressListOption;
 
+
 /**
  * This option specifies a list of IP addresses indicating mobile IP
  * home agents available to the client.  Agents SHOULD be listed in
@@ -31,9 +33,8 @@
  */
 public class MobileIpHomeAgents extends AddressListOption
 {
-	public MobileIpHomeAgents( byte[] mobileIpHomeAgent )
-	{
-		super( 68, mobileIpHomeAgent );
-	}
+    public MobileIpHomeAgents(byte[] mobileIpHomeAgent)
+    {
+        super( 68, mobileIpHomeAgent );
+    }
 }
-

Modified: directory/sandbox/akarasulu/rc1/apacheds/protocol-dhcp/src/main/java/org/apache/directory/server/dhcp/options/misc/NbddServers.java
URL: http://svn.apache.org/viewcvs/directory/sandbox/akarasulu/rc1/apacheds/protocol-dhcp/src/main/java/org/apache/directory/server/dhcp/options/misc/NbddServers.java?rev=376623&r1=376622&r2=376623&view=diff
==============================================================================
--- directory/sandbox/akarasulu/rc1/apacheds/protocol-dhcp/src/main/java/org/apache/directory/server/dhcp/options/misc/NbddServers.java (original)
+++ directory/sandbox/akarasulu/rc1/apacheds/protocol-dhcp/src/main/java/org/apache/directory/server/dhcp/options/misc/NbddServers.java Fri Feb 10 02:48:07 2006
@@ -17,8 +17,10 @@
 
 package org.apache.directory.server.dhcp.options.misc;
 
+
 import org.apache.directory.server.dhcp.options.AddressListOption;
 
+
 /**
  * The NetBIOS datagram distribution server (NBDD) option specifies a
  * list of RFC 1001/1002 NBDD servers listed in order of preference. The
@@ -27,9 +29,8 @@
  */
 public class NbddServers extends AddressListOption
 {
-	public NbddServers( byte[] netbiosDatagramDistributionServer )
-	{
-		super( 45, netbiosDatagramDistributionServer );
-	}
+    public NbddServers(byte[] netbiosDatagramDistributionServer)
+    {
+        super( 45, netbiosDatagramDistributionServer );
+    }
 }
-

Modified: directory/sandbox/akarasulu/rc1/apacheds/protocol-dhcp/src/main/java/org/apache/directory/server/dhcp/options/misc/NetbiosNameServers.java
URL: http://svn.apache.org/viewcvs/directory/sandbox/akarasulu/rc1/apacheds/protocol-dhcp/src/main/java/org/apache/directory/server/dhcp/options/misc/NetbiosNameServers.java?rev=376623&r1=376622&r2=376623&view=diff
==============================================================================
--- directory/sandbox/akarasulu/rc1/apacheds/protocol-dhcp/src/main/java/org/apache/directory/server/dhcp/options/misc/NetbiosNameServers.java (original)
+++ directory/sandbox/akarasulu/rc1/apacheds/protocol-dhcp/src/main/java/org/apache/directory/server/dhcp/options/misc/NetbiosNameServers.java Fri Feb 10 02:48:07 2006
@@ -17,8 +17,10 @@
 
 package org.apache.directory.server.dhcp.options.misc;
 
+
 import org.apache.directory.server.dhcp.options.AddressListOption;
 
+
 /**
  * The NetBIOS name server (NBNS) option specifies a list of RFC
  * 1001/1002 NBNS name servers listed in order of preference.
@@ -28,9 +30,8 @@
  */
 public class NetbiosNameServers extends AddressListOption
 {
-	public NetbiosNameServers( byte[] netbiosNameServer )
-	{
-		super( 44, netbiosNameServer );
-	}
+    public NetbiosNameServers(byte[] netbiosNameServer)
+    {
+        super( 44, netbiosNameServer );
+    }
 }
-

Modified: directory/sandbox/akarasulu/rc1/apacheds/protocol-dhcp/src/main/java/org/apache/directory/server/dhcp/options/misc/NetbiosNodeType.java
URL: http://svn.apache.org/viewcvs/directory/sandbox/akarasulu/rc1/apacheds/protocol-dhcp/src/main/java/org/apache/directory/server/dhcp/options/misc/NetbiosNodeType.java?rev=376623&r1=376622&r2=376623&view=diff
==============================================================================
--- directory/sandbox/akarasulu/rc1/apacheds/protocol-dhcp/src/main/java/org/apache/directory/server/dhcp/options/misc/NetbiosNodeType.java (original)
+++ directory/sandbox/akarasulu/rc1/apacheds/protocol-dhcp/src/main/java/org/apache/directory/server/dhcp/options/misc/NetbiosNodeType.java Fri Feb 10 02:48:07 2006
@@ -17,10 +17,12 @@
 
 package org.apache.directory.server.dhcp.options.misc;
 
+
 import java.nio.ByteBuffer;
 
 import org.apache.directory.server.dhcp.options.DhcpOption;
 
+
 /**
  * The NetBIOS node type option allows NetBIOS over TCP/IP clients which
  * are configurable to be configured as described in RFC 1001/1002.  The
@@ -42,17 +44,18 @@
  */
 public class NetbiosNodeType extends DhcpOption
 {
-	private byte[] netbiosNodeType;
-	
-	public NetbiosNodeType( byte[] netbiosNodeType )
-	{
-		super( 46, 1 );
-		this.netbiosNodeType = netbiosNodeType;
-	}
-	
-	protected void valueToByteBuffer( ByteBuffer out )
-	{
-		out.put( netbiosNodeType );
-	}
-}
+    private byte[] netbiosNodeType;
+
 
+    public NetbiosNodeType(byte[] netbiosNodeType)
+    {
+        super( 46, 1 );
+        this.netbiosNodeType = netbiosNodeType;
+    }
+
+
+    protected void valueToByteBuffer( ByteBuffer out )
+    {
+        out.put( netbiosNodeType );
+    }
+}

Modified: directory/sandbox/akarasulu/rc1/apacheds/protocol-dhcp/src/main/java/org/apache/directory/server/dhcp/options/misc/NetbiosScope.java
URL: http://svn.apache.org/viewcvs/directory/sandbox/akarasulu/rc1/apacheds/protocol-dhcp/src/main/java/org/apache/directory/server/dhcp/options/misc/NetbiosScope.java?rev=376623&r1=376622&r2=376623&view=diff
==============================================================================
--- directory/sandbox/akarasulu/rc1/apacheds/protocol-dhcp/src/main/java/org/apache/directory/server/dhcp/options/misc/NetbiosScope.java (original)
+++ directory/sandbox/akarasulu/rc1/apacheds/protocol-dhcp/src/main/java/org/apache/directory/server/dhcp/options/misc/NetbiosScope.java Fri Feb 10 02:48:07 2006
@@ -17,10 +17,12 @@
 
 package org.apache.directory.server.dhcp.options.misc;
 
+
 import java.nio.ByteBuffer;
 
 import org.apache.directory.server.dhcp.options.DhcpOption;
 
+
 /**
  * The NetBIOS scope option specifies the NetBIOS over TCP/IP scope
  * parameter for the client as specified in RFC 1001/1002.
@@ -30,17 +32,18 @@
  */
 public class NetbiosScope extends DhcpOption
 {
-	private byte[] netbiosScope;
-	
-	public NetbiosScope( byte[] netbiosScope )
-	{
-		super( 47, 1 );
-		this.netbiosScope = netbiosScope;
-	}
-	
-	protected void valueToByteBuffer( ByteBuffer out )
-	{
-		out.put( netbiosScope );
-	}
-}
+    private byte[] netbiosScope;
+
 
+    public NetbiosScope(byte[] netbiosScope)
+    {
+        super( 47, 1 );
+        this.netbiosScope = netbiosScope;
+    }
+
+
+    protected void valueToByteBuffer( ByteBuffer out )
+    {
+        out.put( netbiosScope );
+    }
+}

Modified: directory/sandbox/akarasulu/rc1/apacheds/protocol-dhcp/src/main/java/org/apache/directory/server/dhcp/options/misc/NisDomain.java
URL: http://svn.apache.org/viewcvs/directory/sandbox/akarasulu/rc1/apacheds/protocol-dhcp/src/main/java/org/apache/directory/server/dhcp/options/misc/NisDomain.java?rev=376623&r1=376622&r2=376623&view=diff
==============================================================================
--- directory/sandbox/akarasulu/rc1/apacheds/protocol-dhcp/src/main/java/org/apache/directory/server/dhcp/options/misc/NisDomain.java (original)
+++ directory/sandbox/akarasulu/rc1/apacheds/protocol-dhcp/src/main/java/org/apache/directory/server/dhcp/options/misc/NisDomain.java Fri Feb 10 02:48:07 2006
@@ -17,10 +17,12 @@
 
 package org.apache.directory.server.dhcp.options.misc;
 
+
 import java.nio.ByteBuffer;
 
 import org.apache.directory.server.dhcp.options.DhcpOption;
 
+
 /**
  * This option specifies the name of the client's NIS domain.  The
  * domain is formatted as a character string consisting of characters
@@ -30,17 +32,18 @@
  */
 public class NisDomain extends DhcpOption
 {
-	private byte[] nisDomain;
-	
-	public NisDomain( byte[] nisDomain )
-	{
-		super( 40, 1 );
-		this.nisDomain = nisDomain;
-	}
-	
-	protected void valueToByteBuffer( ByteBuffer out )
-	{
-		out.put( nisDomain );
-	}
-}
+    private byte[] nisDomain;
+
 
+    public NisDomain(byte[] nisDomain)
+    {
+        super( 40, 1 );
+        this.nisDomain = nisDomain;
+    }
+
+
+    protected void valueToByteBuffer( ByteBuffer out )
+    {
+        out.put( nisDomain );
+    }
+}

Modified: directory/sandbox/akarasulu/rc1/apacheds/protocol-dhcp/src/main/java/org/apache/directory/server/dhcp/options/misc/NisPlusDomain.java
URL: http://svn.apache.org/viewcvs/directory/sandbox/akarasulu/rc1/apacheds/protocol-dhcp/src/main/java/org/apache/directory/server/dhcp/options/misc/NisPlusDomain.java?rev=376623&r1=376622&r2=376623&view=diff
==============================================================================
--- directory/sandbox/akarasulu/rc1/apacheds/protocol-dhcp/src/main/java/org/apache/directory/server/dhcp/options/misc/NisPlusDomain.java (original)
+++ directory/sandbox/akarasulu/rc1/apacheds/protocol-dhcp/src/main/java/org/apache/directory/server/dhcp/options/misc/NisPlusDomain.java Fri Feb 10 02:48:07 2006
@@ -17,10 +17,12 @@
 
 package org.apache.directory.server.dhcp.options.misc;
 
+
 import java.nio.ByteBuffer;
 
 import org.apache.directory.server.dhcp.options.DhcpOption;
 
+
 /**
  * This option specifies the name of the client's NIS+ domain.  The
  * domain is formatted as a character string consisting of characters
@@ -30,17 +32,18 @@
  */
 public class NisPlusDomain extends DhcpOption
 {
-	private byte[] nisPlusDomain;
-	
-	public NisPlusDomain( byte[] nisPlusDomain )
-	{
-		super( 64, 1 );
-		this.nisPlusDomain = nisPlusDomain;
-	}
-	
-	protected void valueToByteBuffer( ByteBuffer out )
-	{
-		out.put( nisPlusDomain );
-	}
-}
+    private byte[] nisPlusDomain;
+
 
+    public NisPlusDomain(byte[] nisPlusDomain)
+    {
+        super( 64, 1 );
+        this.nisPlusDomain = nisPlusDomain;
+    }
+
+
+    protected void valueToByteBuffer( ByteBuffer out )
+    {
+        out.put( nisPlusDomain );
+    }
+}

Modified: directory/sandbox/akarasulu/rc1/apacheds/protocol-dhcp/src/main/java/org/apache/directory/server/dhcp/options/misc/NisPlusServers.java
URL: http://svn.apache.org/viewcvs/directory/sandbox/akarasulu/rc1/apacheds/protocol-dhcp/src/main/java/org/apache/directory/server/dhcp/options/misc/NisPlusServers.java?rev=376623&r1=376622&r2=376623&view=diff
==============================================================================
--- directory/sandbox/akarasulu/rc1/apacheds/protocol-dhcp/src/main/java/org/apache/directory/server/dhcp/options/misc/NisPlusServers.java (original)
+++ directory/sandbox/akarasulu/rc1/apacheds/protocol-dhcp/src/main/java/org/apache/directory/server/dhcp/options/misc/NisPlusServers.java Fri Feb 10 02:48:07 2006
@@ -17,8 +17,10 @@
 
 package org.apache.directory.server.dhcp.options.misc;
 
+
 import org.apache.directory.server.dhcp.options.AddressListOption;
 
+
 /**
  * This option specifies a list of IP addresses indicating NIS+ servers
  * available to the client.  Servers SHOULD be listed in order of
@@ -29,9 +31,8 @@
  */
 public class NisPlusServers extends AddressListOption
 {
-	public NisPlusServers( byte[] nisPlusServers )
-	{
-		super( 65, nisPlusServers );
-	}
+    public NisPlusServers(byte[] nisPlusServers)
+    {
+        super( 65, nisPlusServers );
+    }
 }
-

Modified: directory/sandbox/akarasulu/rc1/apacheds/protocol-dhcp/src/main/java/org/apache/directory/server/dhcp/options/misc/NisServers.java
URL: http://svn.apache.org/viewcvs/directory/sandbox/akarasulu/rc1/apacheds/protocol-dhcp/src/main/java/org/apache/directory/server/dhcp/options/misc/NisServers.java?rev=376623&r1=376622&r2=376623&view=diff
==============================================================================
--- directory/sandbox/akarasulu/rc1/apacheds/protocol-dhcp/src/main/java/org/apache/directory/server/dhcp/options/misc/NisServers.java (original)
+++ directory/sandbox/akarasulu/rc1/apacheds/protocol-dhcp/src/main/java/org/apache/directory/server/dhcp/options/misc/NisServers.java Fri Feb 10 02:48:07 2006
@@ -17,8 +17,10 @@
 
 package org.apache.directory.server.dhcp.options.misc;
 
+
 import org.apache.directory.server.dhcp.options.AddressListOption;
 
+
 /**
  * This option specifies a list of IP addresses indicating NIS servers
  * available to the client.  Servers SHOULD be listed in order of
@@ -29,9 +31,8 @@
  */
 public class NisServers extends AddressListOption
 {
-	public NisServers( byte[] nisServers )
-	{
-		super( 41, nisServers );
-	}
+    public NisServers(byte[] nisServers)
+    {
+        super( 41, nisServers );
+    }
 }
-

Modified: directory/sandbox/akarasulu/rc1/apacheds/protocol-dhcp/src/main/java/org/apache/directory/server/dhcp/options/misc/NntpServers.java
URL: http://svn.apache.org/viewcvs/directory/sandbox/akarasulu/rc1/apacheds/protocol-dhcp/src/main/java/org/apache/directory/server/dhcp/options/misc/NntpServers.java?rev=376623&r1=376622&r2=376623&view=diff
==============================================================================
--- directory/sandbox/akarasulu/rc1/apacheds/protocol-dhcp/src/main/java/org/apache/directory/server/dhcp/options/misc/NntpServers.java (original)
+++ directory/sandbox/akarasulu/rc1/apacheds/protocol-dhcp/src/main/java/org/apache/directory/server/dhcp/options/misc/NntpServers.java Fri Feb 10 02:48:07 2006
@@ -17,8 +17,10 @@
 
 package org.apache.directory.server.dhcp.options.misc;
 
+
 import org.apache.directory.server.dhcp.options.AddressListOption;
 
+
 /**
  * The NNTP server option specifies a list of NNTP available to the
  * client.  Servers SHOULD be listed in order of preference.
@@ -29,9 +31,8 @@
  */
 public class NntpServers extends AddressListOption
 {
-	public NntpServers( byte[] nntpServer )
-	{
-		super( 71, nntpServer );
-	}
+    public NntpServers(byte[] nntpServer)
+    {
+        super( 71, nntpServer );
+    }
 }
-

Modified: directory/sandbox/akarasulu/rc1/apacheds/protocol-dhcp/src/main/java/org/apache/directory/server/dhcp/options/misc/NtpServers.java
URL: http://svn.apache.org/viewcvs/directory/sandbox/akarasulu/rc1/apacheds/protocol-dhcp/src/main/java/org/apache/directory/server/dhcp/options/misc/NtpServers.java?rev=376623&r1=376622&r2=376623&view=diff
==============================================================================
--- directory/sandbox/akarasulu/rc1/apacheds/protocol-dhcp/src/main/java/org/apache/directory/server/dhcp/options/misc/NtpServers.java (original)
+++ directory/sandbox/akarasulu/rc1/apacheds/protocol-dhcp/src/main/java/org/apache/directory/server/dhcp/options/misc/NtpServers.java Fri Feb 10 02:48:07 2006
@@ -17,8 +17,10 @@
 
 package org.apache.directory.server.dhcp.options.misc;
 
+
 import org.apache.directory.server.dhcp.options.AddressListOption;
 
+
 /**
  * This option specifies a list of IP addresses indicating NTP
  * servers available to the client.  Servers SHOULD be listed in order
@@ -29,9 +31,8 @@
  */
 public class NtpServers extends AddressListOption
 {
-	public NtpServers( byte[] ntpServers )
-	{
-		super( 42, ntpServers );
-	}
+    public NtpServers(byte[] ntpServers)
+    {
+        super( 42, ntpServers );
+    }
 }
-



Mime
View raw message