public class NetConfigIP6 extends NetConfigIP<IP6Address> implements NetConfig6
Constructor and Description |
---|
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.
|
Modifier and Type | Method and Description |
---|---|
boolean |
isValid()
Checks whether or not this configuration is valid.
|
equals, getAddress, getDnsServers, getDomains, getGateway, getNetworkPrefixLength, getProperties, getStatus, getSubnetMask, hashCode, isAutoConnect, isDhcp, setAddress, setAutoConnect, setDhcp, setDnsServers, setDomains, setGateway, setNetworkPrefixLength, setProperties, setStatus, setSubnetMask, toString
public NetConfigIP6(NetInterfaceStatus status, boolean autoConnect)
public NetConfigIP6(NetInterfaceStatus status, boolean autoConnect, boolean dhcp)
dhcp
- whether or not DHCP client mode should be usedpublic NetConfigIP6(NetInterfaceStatus status, boolean autoConnect, IP6Address address, short networkPrefixLength, IP6Address gateway) throws EsfException
address
- - address to be assigned to the interfacenetworkPrefixLength
- - network prefix length to be assigned to the interfacegateway
- - default gateway to be assigned to the interfaceEsfException
public NetConfigIP6(NetInterfaceStatus status, boolean autoConnect, IP6Address address, IP6Address subnetMask, IP6Address gateway) throws EsfException
address
- - address to be assigned to the interfacesubnetMask
- - subnet mask to be assigned to the interfacegateway
- - default gateway to be assigned to the interfaceEsfException
public boolean isValid()
NetConfig
isValid
in interface NetConfig
isValid
in class NetConfigIP<IP6Address>
Copyright © 2013. All Rights Reserved.