public class NetworkInterface extends Object implements Serializable
| Constructor and Description |
|---|
NetworkInterface() |
| Modifier and Type | Method and Description |
|---|---|
String |
getGateway() |
String |
getId() |
String |
getIpv4() |
String |
getIpv6() |
String |
getMac() |
String |
getName() |
String |
getNetmask() |
String |
getNetwork() |
protected void |
setGateway(String gateway) |
protected void |
setId(String id) |
protected void |
setIpv4(String ipv4) |
protected void |
setIpv6(String ipv6) |
protected void |
setMac(String mac) |
protected void |
setName(String name) |
protected void |
setNetmask(String netmask) |
protected void |
setNetwork(String network) |
public String getIpv4()
public String getIpv6()
public String getName()
public String getMac()
public String getId()
public String getGateway()
public String getNetwork()
public String getNetmask()
protected void setIpv4(String ipv4)
ipv4 - The IPv4 addressprotected void setIpv6(String ipv6)
ipv6 - The IPv6 addressprotected void setName(String name)
name - The nameprotected void setMac(String mac)
mac - The MAC addressprotected void setId(String id)
id - The Id of network interfaceprotected void setGateway(String gateway)
gateway - The network gatewayprotected void setNetwork(String network)
network - The networkprotected void setNetmask(String netmask)
netmask - The network mask