org.apache.directory.server.dhcp.options.perinterface
Class PerformRouterDiscovery

java.lang.Object
  extended byorg.apache.directory.server.dhcp.options.DhcpOption
      extended byorg.apache.directory.server.dhcp.options.perinterface.PerformRouterDiscovery

public class PerformRouterDiscovery
extends DhcpOption

This option specifies whether or not the client should solicit routers using the Router Discovery mechanism defined in RFC 1256. A value of 0 indicates that the client should not perform router discovery. A value of 1 means that the client should perform router discovery. The code for this option is 31, and its length is 1.


Constructor Summary
PerformRouterDiscovery(byte[] performRouterDiscovery)
           
 
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

PerformRouterDiscovery

public PerformRouterDiscovery(byte[] performRouterDiscovery)
Method Detail

valueToByteBuffer

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