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
SigarExceptionpublic java.lang.String getDestination()
Supported Platforms: HPUX, Linux, Win32.
System equivalent commands:
route -npublic java.lang.String getGateway()
Supported Platforms: HPUX, Linux, Win32.
System equivalent commands:
route -npublic long getFlags()
Supported Platforms: Linux.
System equivalent commands:
route -npublic long getRefcnt()
Supported Platforms: Linux.
System equivalent commands:
route -npublic long getUse()
Supported Platforms: Linux.
System equivalent commands:
route -npublic long getMetric()
Supported Platforms: Linux.
System equivalent commands:
route -npublic java.lang.String getMask()
Supported Platforms: HPUX, Linux.
System equivalent commands:
route -npublic long getMtu()
Supported Platforms: Linux.
System equivalent commands:
route -npublic long getWindow()
Supported Platforms: Linux.
System equivalent commands:
route -npublic long getIrtt()
Supported Platforms: Linux.
System equivalent commands:
route -npublic java.lang.String getIfname()
Supported Platforms: Linux.
System equivalent commands:
route -npublic java.util.Map toMap()
public java.lang.String toString()
toString in class java.lang.ObjectCopyright ? 2004-2011 Hyperic. All Rights Reserved.