public class NetworkAdapterInfo extends Object
Users of this object should expect possible null values for some of these fields, in the case when
some of the values are unknown or undetectable on the platform. For example, on platforms without native support, the
MAC address will not be detectable and, since it is unknown, will be
null.
| Modifier and Type | Class and Description |
|---|---|
static class |
NetworkAdapterInfo.OperationState |
| Constructor and Description |
|---|
NetworkAdapterInfo(org.hyperic.sigar.NetInterfaceConfig a) |
NetworkAdapterInfo(String name,
String displayName,
String description,
String macAddress,
String type,
String operationalStatus,
Boolean dhcpEnabled,
List<InetAddress> dnsServers,
List<InetAddress> unicastAddresses,
List<InetAddress> multicastAddresses) |
| Modifier and Type | Method and Description |
|---|---|
String |
getAllFlags() |
String |
getDescription() |
String |
getDisplayName() |
List<InetAddress> |
getDnsServers() |
byte[] |
getMacAddressBytes() |
String |
getMacAddressString() |
List<InetAddress> |
getMulticastAddresses() |
String |
getName() |
NetworkAdapterInfo.OperationState |
getOperationalStatus() |
String |
getType() |
List<InetAddress> |
getUnicastAddresses() |
Boolean |
isDhcpEnabled() |
String |
toString() |
public NetworkAdapterInfo(String name, String displayName, String description, String macAddress, String type, String operationalStatus, Boolean dhcpEnabled, List<InetAddress> dnsServers, List<InetAddress> unicastAddresses, List<InetAddress> multicastAddresses)
public NetworkAdapterInfo(org.hyperic.sigar.NetInterfaceConfig a)
public String getName()
public String getDisplayName()
public String getDescription()
public String getAllFlags()
public String getMacAddressString()
public byte[] getMacAddressBytes()
public String getType()
public NetworkAdapterInfo.OperationState getOperationalStatus()
public Boolean isDhcpEnabled()
public List<InetAddress> getDnsServers()
public List<InetAddress> getUnicastAddresses()
public List<InetAddress> getMulticastAddresses()
Copyright © 2008-2014 Red Hat, Inc.. All Rights Reserved.