com.eurotech.framework.net.dns
Class DnsServerConfigIP4

java.lang.Object
  extended by com.eurotech.framework.net.dns.DnsServerConfigIP<IP4Address>
      extended by com.eurotech.framework.net.dns.DnsServerConfigIP4
All Implemented Interfaces:
DnsServerConfig, DnsServerConfig4, NetConfig

public class DnsServerConfigIP4
extends DnsServerConfigIP<IP4Address>
implements DnsServerConfig4

DNS server configurations for IPv4 networks

Author:
eurotech

Constructor Summary
DnsServerConfigIP4(List<IP4Address> forwarders, List<NetworkPair<IP4Address>> allowedNetworks)
           
 
Method Summary
 boolean isValid()
          Checks whether or not this configuration is valid.
 
Methods inherited from class com.eurotech.framework.net.dns.DnsServerConfigIP
getAllowedNetworks, getForwarders, setAllowedNetworks, setForwarders, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface com.eurotech.framework.net.dns.DnsServerConfig
getAllowedNetworks, getForwarders
 

Constructor Detail

DnsServerConfigIP4

public DnsServerConfigIP4(List<IP4Address> forwarders,
                          List<NetworkPair<IP4Address>> allowedNetworks)
Method Detail

isValid

public boolean isValid()
Description copied from interface: NetConfig
Checks whether or not this configuration is valid.

Specified by:
isValid in interface NetConfig
Returns:
true if the configuration is valid, otherwise false


Copyright © 2013. All Rights Reserved.