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

java.lang.Object
  extended byorg.apache.directory.server.dhcp.options.DhcpOption
Direct Known Subclasses:
AddressListOption, AddressOption, AllSubnetsAreLocal, ArpCacheTimeout, BootfileName, BootFileSize, BroadcastAddress, ClientIdentifier, DefaultIpTimeToLive, DhcpMessageType, DomainName, EndOption, EthernetEncapsulation, ExtensionsPath, HostName, InterfaceMtu, IpAddressLeaseTime, IpForwarding, MaskSupplier, MaximumDatagramSize, MaximumDhcpMessageSize, MeritDumpFile, Message, NetbiosNodeType, NetbiosScope, NisDomain, NisPlusDomain, NonLocalSourceRouting, OptionOverload, PadOption, ParameterRequestList, PathMtuAgingTimeout, PathMtuPlateauTable, PerformMaskDiscovery, PerformRouterDiscovery, PolicyFilter, RebindingTimeValue, RenewalTimeValue, RootPath, RouterSolicitationAddress, StaticRoute, TcpDefaultTimeToLive, TcpKeepaliveGarbage, TcpKeepaliveInterval, TftpServerName, TimeOffset, TrailerEncapsulation, VendorClassIdentifier, VendorSpecificInformation

public abstract class DhcpOption
extends java.lang.Object

The Dynamic Host Configuration Protocol (DHCP) provides a framework for passing configuration information to hosts on a TCP/IP network. Configuration parameters and other control information are carried in tagged data items that are stored in the 'options' field of the DHCP message. The data items themselves are also called "options."


Constructor Summary
DhcpOption(int tag, int length)
           
 
Method Summary
protected abstract  void valueToByteBuffer(java.nio.ByteBuffer out)
           
 void writeTo(java.nio.ByteBuffer out)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DhcpOption

public DhcpOption(int tag,
                  int length)
Method Detail

valueToByteBuffer

protected abstract void valueToByteBuffer(java.nio.ByteBuffer out)

writeTo

public void writeTo(java.nio.ByteBuffer out)