public class NetRoute
extends java.lang.Object
implements java.io.Serializable
Constructor and Description |
---|
NetRoute() |
Modifier and Type | Method and Description |
---|---|
void |
gather(Sigar sigar) |
java.lang.String |
getDestination()
Get the destination.
|
long |
getFlags()
Get the flags.
|
java.lang.String |
getGateway()
Get the gateway.
|
java.lang.String |
getIfname()
Get the ifname.
|
long |
getIrtt()
Get the irtt.
|
java.lang.String |
getMask()
Get the mask.
|
long |
getMetric()
Get the metric.
|
long |
getMtu()
Get the mtu.
|
long |
getRefcnt()
Get the refcnt.
|
long |
getUse()
Get the use.
|
long |
getWindow()
Get the window.
|
java.util.Map |
toMap() |
java.lang.String |
toString() |
public void gather(Sigar sigar) throws SigarException
SigarException
public java.lang.String getDestination()
Supported Platforms: HPUX, Linux, Win32.
System equivalent commands:
route -n
public java.lang.String getGateway()
Supported Platforms: HPUX, Linux, Win32.
System equivalent commands:
route -n
public long getFlags()
Supported Platforms: Linux.
System equivalent commands:
route -n
public long getRefcnt()
Supported Platforms: Linux.
System equivalent commands:
route -n
public long getUse()
Supported Platforms: Linux.
System equivalent commands:
route -n
public long getMetric()
Supported Platforms: Linux.
System equivalent commands:
route -n
public java.lang.String getMask()
Supported Platforms: HPUX, Linux.
System equivalent commands:
route -n
public long getMtu()
Supported Platforms: Linux.
System equivalent commands:
route -n
public long getWindow()
Supported Platforms: Linux.
System equivalent commands:
route -n
public long getIrtt()
Supported Platforms: Linux.
System equivalent commands:
route -n
public java.lang.String getIfname()
Supported Platforms: Linux.
System equivalent commands:
route -n
public java.util.Map toMap()
public java.lang.String toString()
toString
in class java.lang.Object
Copyright ? 2004-2011 Hyperic. All Rights Reserved.