@ProviderType public class NetConfigIP4 extends NetConfigIP<IP4Address> implements NetConfig4
| Constructor and Description |
|---|
NetConfigIP4(NetInterfaceStatus status,
boolean autoConnect) |
NetConfigIP4(NetInterfaceStatus status,
boolean autoConnect,
boolean dhcp) |
NetConfigIP4(NetInterfaceStatus status,
boolean autoConnect,
IP4Address address,
IP4Address subnetMask,
IP4Address gateway) |
NetConfigIP4(NetInterfaceStatus status,
boolean autoConnect,
IP4Address address,
short networkPrefixLength,
IP4Address gateway) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object obj) |
java.util.List<IP4Address> |
getWinsServers()
Returns the list of Windows Servers to be associated with the interface
|
int |
hashCode() |
boolean |
isValid()
Checks whether or not this configuration is valid.
|
void |
setWinsServers(java.util.List<IP4Address> winsServers)
Sets the list of Windows Servers to be associated with the interface
|
java.lang.String |
toString() |
getAddress, getDnsServers, getDomains, getGateway, getNetworkPrefixLength, getProperties, getStatus, getSubnetMask, isAutoConnect, isDhcp, setAddress, setAutoConnect, setDhcp, setDnsServers, setDomains, setGateway, setNetworkPrefixLength, setProperties, setStatus, setSubnetMaskpublic NetConfigIP4(NetInterfaceStatus status, boolean autoConnect)
public NetConfigIP4(NetInterfaceStatus status, boolean autoConnect, boolean dhcp)
public NetConfigIP4(NetInterfaceStatus status, boolean autoConnect, IP4Address address, short networkPrefixLength, IP4Address gateway) throws KuraException
KuraExceptionpublic NetConfigIP4(NetInterfaceStatus status, boolean autoConnect, IP4Address address, IP4Address subnetMask, IP4Address gateway) throws KuraException
KuraExceptionpublic java.util.List<IP4Address> getWinsServers()
public void setWinsServers(java.util.List<IP4Address> winsServers)
winsServers - public boolean isValid()
NetConfigisValid in interface NetConfigisValid in class NetConfigIP<IP4Address>public java.lang.String toString()
toString in class NetConfigIP<IP4Address>public int hashCode()
hashCode in class NetConfigIP<IP4Address>public boolean equals(java.lang.Object obj)
equals in class NetConfigIP<IP4Address>