org.hyperic.sigar
Class NetInterfaceConfig

java.lang.Object
  extended by org.hyperic.sigar.NetInterfaceConfig
All Implemented Interfaces:
java.io.Serializable

public class NetInterfaceConfig
extends java.lang.Object
implements java.io.Serializable

NetInterfaceConfig sigar class.

See Also:
Serialized Form

Constructor Summary
NetInterfaceConfig()
           
 
Method Summary
 void gather(Sigar sigar, java.lang.String name)
           
 java.lang.String getAddress()
          Get the address.
 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.
 java.lang.String getType()
          Get the type.
 java.util.Map toMap()
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

NetInterfaceConfig

public NetInterfaceConfig()
Method Detail

gather

public void gather(Sigar sigar,
                   java.lang.String name)
            throws SigarException
Throws:
SigarException

getName

public java.lang.String getName()
Get the name.

Supported Platforms: All.

System equivalent commands:

Returns:
name

getHwaddr

public java.lang.String getHwaddr()
Get the hwaddr.

Supported Platforms: All.

System equivalent commands:

Returns:
hwaddr

getType

public java.lang.String getType()
Get the type.

Supported Platforms: All.

System equivalent commands:

Returns:
type

getDescription

public java.lang.String getDescription()
Get the description.

Supported Platforms: All.

System equivalent commands:

Returns:
description

getAddress

public java.lang.String getAddress()
Get the address.

Supported Platforms: All.

System equivalent commands:

Returns:
address

getDestination

public java.lang.String getDestination()
Get the destination.

Supported Platforms: All.

System equivalent commands:

Returns:
destination

getBroadcast

public java.lang.String getBroadcast()
Get the broadcast.

Supported Platforms: All.

System equivalent commands:

Returns:
broadcast

getNetmask

public java.lang.String getNetmask()
Get the netmask.

Supported Platforms: All.

System equivalent commands:

Returns:
netmask

getFlags

public long getFlags()
Get the flags.

Supported Platforms: All.

System equivalent commands:

Returns:
flags

getMtu

public long getMtu()
Get the mtu.

Supported Platforms: Darwin, FreeBSD, Linux.

System equivalent commands:

Returns:
mtu

getMetric

public long getMetric()
Get the metric.

Supported Platforms: Darwin, FreeBSD, Linux.

System equivalent commands:

Returns:
metric

toMap

public java.util.Map toMap()

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object


Copyright ? 2004-2009 Hyperic. All Rights Reserved.