public class NetInterfaceConfig
extends java.lang.Object
implements java.io.Serializable
Constructor and Description |
---|
NetInterfaceConfig() |
Modifier and Type | Method and Description |
---|---|
void |
gather(Sigar sigar,
java.lang.String name) |
java.lang.String |
getAddress()
Get the address.
|
java.lang.String |
getAddress6()
Get the address6.
|
java.lang.String |
getBroadcast()
Get the broadcast.
|
java.lang.String |
getDescription()
Get the description.
|
java.lang.String |
getDestination()
Get the destination.
|
long |
getFlags()
Get the flags.
|
java.lang.String |
getHwaddr()
Get the hwaddr.
|
long |
getMetric()
Get the metric.
|
long |
getMtu()
Get the mtu.
|
java.lang.String |
getName()
Get the name.
|
java.lang.String |
getNetmask()
Get the netmask.
|
int |
getPrefix6Length()
Get the prefix6_length.
|
int |
getScope6()
Get the scope6.
|
int |
getTxQueueLen()
Get the tx_queue_len.
|
java.lang.String |
getType()
Get the type.
|
java.util.Map |
toMap() |
java.lang.String |
toString() |
public void gather(Sigar sigar, java.lang.String name) throws SigarException
SigarException
public java.lang.String getName()
Supported Platforms: All.
System equivalent commands:
ifconfig
ifconfig -a
public java.lang.String getHwaddr()
Supported Platforms: All.
System equivalent commands:
ifconfig
ifconfig -a
public java.lang.String getType()
Supported Platforms: All.
System equivalent commands:
ifconfig
ifconfig -a
public java.lang.String getDescription()
Supported Platforms: All.
System equivalent commands:
ifconfig
ifconfig -a
public java.lang.String getAddress()
Supported Platforms: All.
System equivalent commands:
ifconfig
ifconfig -a
public java.lang.String getAddress6()
Supported Platforms: Undocumented.
System equivalent commands:
ifconfig
ifconfig -a
public int getPrefix6Length()
Supported Platforms: Undocumented.
System equivalent commands:
ifconfig
ifconfig -a
public int getScope6()
Supported Platforms: Undocumented.
System equivalent commands:
ifconfig
ifconfig -a
public java.lang.String getDestination()
Supported Platforms: All.
System equivalent commands:
ifconfig
ifconfig -a
public java.lang.String getBroadcast()
Supported Platforms: All.
System equivalent commands:
ifconfig
ifconfig -a
public java.lang.String getNetmask()
Supported Platforms: All.
System equivalent commands:
ifconfig
ifconfig -a
public long getFlags()
Supported Platforms: All.
System equivalent commands:
ifconfig
ifconfig -a
public long getMtu()
Supported Platforms: Darwin, FreeBSD, Linux.
System equivalent commands:
ifconfig
ifconfig -a
public long getMetric()
Supported Platforms: Darwin, FreeBSD, Linux.
System equivalent commands:
ifconfig
ifconfig -a
public int getTxQueueLen()
Supported Platforms: Linux.
System equivalent commands:
ifconfig
ifconfig -a
public java.util.Map toMap()
public java.lang.String toString()
toString
in class java.lang.Object
Copyright ? 2004-2011 Hyperic. All Rights Reserved.