org.apache.directory.server.dhcp.options.dhcp
Class MaximumDhcpMessageSize

java.lang.Object
  extended by org.apache.directory.server.dhcp.options.DhcpOption
      extended by org.apache.directory.server.dhcp.options.dhcp.MaximumDhcpMessageSize

public class MaximumDhcpMessageSize
extends DhcpOption

This option specifies the maximum length DHCP message that it is willing to accept. The length is specified as an unsigned 16-bit integer. A client may use the maximum DHCP message size option in DHCPDISCOVER or DHCPREQUEST messages, but should not use the option in DHCPDECLINE messages. The code for this option is 57, and its length is 2. The minimum legal value is 576 octets.


Constructor Summary
MaximumDhcpMessageSize(byte[] maximumDhcpMessageSize)
           
 
Method Summary
protected  void valueToByteBuffer(java.nio.ByteBuffer out)
           
 
Methods inherited from class org.apache.directory.server.dhcp.options.DhcpOption
writeTo
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MaximumDhcpMessageSize

public MaximumDhcpMessageSize(byte[] maximumDhcpMessageSize)
Method Detail

valueToByteBuffer

protected void valueToByteBuffer(java.nio.ByteBuffer out)
Specified by:
valueToByteBuffer in class DhcpOption


Copyright © 2003-2009 Apache Software Foundation. All Rights Reserved.