com.eurotech.framework.net.dhcp
Class DhcpServerConfigIP4
java.lang.Object
com.eurotech.framework.net.dhcp.DhcpServerConfigIP<IP4Address>
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 |
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 interface com.eurotech.framework.net.dhcp.DhcpServerConfig |
getDefaultLeaseTime, getDnsServers, getInterfaceName, getMaximumLeaseTime, getPrefix, getRangeEnd, getRangeStart, getRouterAddress, getSubnet, getSubnetMask, isEnabled, isPassDns |
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 DhcpServerConfigenabled
- the status of the DhcpServer as a booleansubnet
- the subnet of the DhcpServerConfigrouterAddress
- the router IPAddresssubnetMask
- the subnet mask of the DhcpServerConfigdefaultLeaseTime
- the default lease time to issue to DHCP clientsmaximumLeaseTime
- the maximum lease time to issue to DHCP clientsprefix
- the network prefix associated with the DhcpServerConfigrangeStart
- the network starting address to issue to DHCP clientsrangeEnd
- the network ending address to issue to DHCP clientspassDns
- whether or not to pass DNS to DHCP clientsdnsServers
- the DNS servers that will get passed to DHCP clients if passDns is true
Copyright © 2013. All Rights Reserved.