com.eurotech.framework.net
Class NetConfigIP6

java.lang.Object
  extended by com.eurotech.framework.net.NetConfigIP<IP6Address>
      extended by com.eurotech.framework.net.NetConfigIP6
All Implemented Interfaces:
NetConfig, NetConfig6

public class NetConfigIP6
extends NetConfigIP<IP6Address>
implements NetConfig6

Configuration for a network interface based on IPv6 addresses.


Constructor Summary
NetConfigIP6(NetInterfaceStatus status, boolean autoConnect)
          Empty Constructor
NetConfigIP6(NetInterfaceStatus status, boolean autoConnect, boolean dhcp)
          Constructor for a DHCP Client Configuration for a network interface based on IPv6 addresses.
NetConfigIP6(NetInterfaceStatus status, boolean autoConnect, IP6Address address, IP6Address subnetMask, IP6Address gateway)
          Constructor for a Static Configuration for a network interface based on IPv6 addresses.
NetConfigIP6(NetInterfaceStatus status, boolean autoConnect, IP6Address address, short networkPrefixLength, IP6Address gateway)
          Constructor for a Static Configuration for a network interface based on IPv6 addresses.
 
Method Summary
 boolean isValid()
          Checks whether or not this configuration is valid.
 
Methods inherited from class com.eurotech.framework.net.NetConfigIP
equals, getAddress, getDnsServers, getDomains, getGateway, getNetworkPrefixLength, getProperties, getStatus, getSubnetMask, hashCode, isAutoConnect, isDhcp, setAddress, setAutoConnect, setDhcp, setDnsServers, setDomains, setGateway, setNetworkPrefixLength, setProperties, setStatus, setSubnetMask, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

NetConfigIP6

public NetConfigIP6(NetInterfaceStatus status,
                    boolean autoConnect)
Empty Constructor


NetConfigIP6

public NetConfigIP6(NetInterfaceStatus status,
                    boolean autoConnect,
                    boolean dhcp)
Constructor for a DHCP Client Configuration for a network interface based on IPv6 addresses.

Parameters:
dhcp - whether or not DHCP client mode should be used

NetConfigIP6

public NetConfigIP6(NetInterfaceStatus status,
                    boolean autoConnect,
                    IP6Address address,
                    short networkPrefixLength,
                    IP6Address gateway)
             throws EsfException
Constructor for a Static Configuration for a network interface based on IPv6 addresses.

Parameters:
address - - address to be assigned to the interface
networkPrefixLength - - network prefix length to be assigned to the interface
gateway - - default gateway to be assigned to the interface
Throws:
EsfException

NetConfigIP6

public NetConfigIP6(NetInterfaceStatus status,
                    boolean autoConnect,
                    IP6Address address,
                    IP6Address subnetMask,
                    IP6Address gateway)
             throws EsfException
Constructor for a Static Configuration for a network interface based on IPv6 addresses.

Parameters:
address - - address to be assigned to the interface
subnetMask - - subnet mask to be assigned to the interface
gateway - - default gateway to be assigned to the interface
Throws:
EsfException
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
Overrides:
isValid in class NetConfigIP<IP6Address>
Returns:
true if the configuration is valid, otherwise false


Copyright © 2013. All Rights Reserved.