com.eurotech.framework.net.dhcp
Class DhcpServerConfigIP4

java.lang.Object
  extended by com.eurotech.framework.net.dhcp.DhcpServerConfigIP<IP4Address>
      extended by com.eurotech.framework.net.dhcp.DhcpServerConfigIP4
All Implemented Interfaces:
DhcpServerConfig, DhcpServerConfig4, NetConfig

public class DhcpServerConfigIP4
extends DhcpServerConfigIP<IP4Address>
implements DhcpServerConfig4

The configuration representing a DHCP server configuration for an IPv4 network.

Author:
eurotech

Constructor Summary
DhcpServerConfigIP4(String interfaceName, boolean enabled, IP4Address subnet, IP4Address routerAddress, IP4Address subnetMask, int defaultLeaseTime, int maximumLeaseTime, short prefix, IP4Address rangeStart, IP4Address rangeEnd, boolean passDns, List<IP4Address> dnsServers)
          The basic Constructor for a DhcpServerConfigIP4
 
Method Summary
 
Methods inherited from class com.eurotech.framework.net.dhcp.DhcpServerConfigIP
equals, getDefaultLeaseTime, getDnsServers, getInterfaceName, getMaximumLeaseTime, getPrefix, getRangeEnd, getRangeStart, getRouterAddress, getSubnet, getSubnetMask, isEnabled, isPassDns, isValid, setDefaultLeaseTime, setDnsServers, setEnabledRouterMode, setInterfaceName, setMaximumLeaseTime, setPassDns, setPrefix, setRangeEnd, setRangeStart, setRouterAddress, setSubnet, setSubnetMask, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface com.eurotech.framework.net.dhcp.DhcpServerConfig
getDefaultLeaseTime, getDnsServers, getInterfaceName, getMaximumLeaseTime, getPrefix, getRangeEnd, getRangeStart, getRouterAddress, getSubnet, getSubnetMask, isEnabled, isPassDns
 
Methods inherited from interface com.eurotech.framework.net.NetConfig
isValid
 

Constructor Detail

DhcpServerConfigIP4

public DhcpServerConfigIP4(String interfaceName,
                           boolean enabled,
                           IP4Address subnet,
                           IP4Address routerAddress,
                           IP4Address subnetMask,
                           int defaultLeaseTime,
                           int maximumLeaseTime,
                           short prefix,
                           IP4Address rangeStart,
                           IP4Address rangeEnd,
                           boolean passDns,
                           List<IP4Address> dnsServers)
The basic Constructor for a DhcpServerConfigIP4

Parameters:
interfaceName - the interface name associated with the DhcpServerConfig
enabled - the status of the DhcpServer as a boolean
subnet - the subnet of the DhcpServerConfig
routerAddress - the router IPAddress
subnetMask - the subnet mask of the DhcpServerConfig
defaultLeaseTime - the default lease time to issue to DHCP clients
maximumLeaseTime - the maximum lease time to issue to DHCP clients
prefix - the network prefix associated with the DhcpServerConfig
rangeStart - the network starting address to issue to DHCP clients
rangeEnd - the network ending address to issue to DHCP clients
passDns - whether or not to pass DNS to DHCP clients
dnsServers - the DNS servers that will get passed to DHCP clients if passDns is true


Copyright © 2013. All Rights Reserved.