|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.eurotech.framework.net.NetConfigIP<IP4Address> com.eurotech.framework.net.NetConfigIP4
public class NetConfigIP4
Configuration for a network interface based on IPv4 addresses.
Constructor Summary | |
---|---|
NetConfigIP4(NetInterfaceStatus status,
boolean autoConnect)
Constructor for a Configuration for a network interface based on IPv4 addresses. |
|
NetConfigIP4(NetInterfaceStatus status,
boolean autoConnect,
boolean dhcp)
Constructor for a DHCP Configration for a network interface nased on IPv4 addresses. |
|
NetConfigIP4(NetInterfaceStatus status,
boolean autoConnect,
IP4Address address,
IP4Address subnetMask,
IP4Address gateway)
|
|
NetConfigIP4(NetInterfaceStatus status,
boolean autoConnect,
IP4Address address,
short networkPrefixLength,
IP4Address gateway)
|
Method Summary | |
---|---|
boolean |
equals(Object obj)
|
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(List<IP4Address> winsServers)
Sets the list of Windows Servers to be associated with the interface |
String |
toString()
|
Methods inherited from class com.eurotech.framework.net.NetConfigIP |
---|
getAddress, getDnsServers, getDomains, getGateway, getNetworkPrefixLength, getProperties, getStatus, getSubnetMask, isAutoConnect, isDhcp, setAddress, setAutoConnect, setDhcp, setDnsServers, setDomains, setGateway, setNetworkPrefixLength, setProperties, setStatus, setSubnetMask |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public NetConfigIP4(NetInterfaceStatus status, boolean autoConnect)
address
- - address to be assigned to the interfacenetworkPrefixLength
- - prefix to be used for the interfacegateway
- - gateway to be associated with the interfacepublic NetConfigIP4(NetInterfaceStatus status, boolean autoConnect, boolean dhcp)
dhcp
- whether or not DHCP client mode should be usedpublic NetConfigIP4(NetInterfaceStatus status, boolean autoConnect, IP4Address address, short networkPrefixLength, IP4Address gateway) throws EsfException
EsfException
public NetConfigIP4(NetInterfaceStatus status, boolean autoConnect, IP4Address address, IP4Address subnetMask, IP4Address gateway) throws EsfException
EsfException
Method Detail |
---|
public List<IP4Address> getWinsServers()
public void setWinsServers(List<IP4Address> winsServers)
winsServers
- public boolean isValid()
NetConfig
isValid
in interface NetConfig
isValid
in class NetConfigIP<IP4Address>
public String toString()
toString
in class NetConfigIP<IP4Address>
public int hashCode()
hashCode
in class NetConfigIP<IP4Address>
public boolean equals(Object obj)
equals
in class NetConfigIP<IP4Address>
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |