|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.hyperic.sigar.NetConnection
public class NetConnection
NetConnection sigar class.
Constructor Summary | |
---|---|
NetConnection()
|
Method Summary | |
---|---|
void |
gather(Sigar sigar)
|
java.lang.String |
getLocalAddress()
Get the local_address. |
long |
getLocalPort()
Get the local_port. |
long |
getReceiveQueue()
Get the receive_queue. |
java.lang.String |
getRemoteAddress()
Get the remote_address. |
long |
getRemotePort()
Get the remote_port. |
long |
getSendQueue()
Get the send_queue. |
int |
getState()
Get the state. |
java.lang.String |
getStateString()
|
static java.lang.String |
getStateString(int state)
|
int |
getType()
Get the type. |
java.lang.String |
getTypeString()
|
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 |
---|
public NetConnection()
Method Detail |
---|
public void gather(Sigar sigar) throws SigarException
SigarException
public long getLocalPort()
Supported Platforms: Linux, FreeBSD, Solaris, Win32.
System equivalent commands:
netstat
public java.lang.String getLocalAddress()
Supported Platforms: Linux, FreeBSD, Solaris, Win32.
System equivalent commands:
netstat
public long getRemotePort()
Supported Platforms: Linux, FreeBSD, Solaris, Win32.
System equivalent commands:
netstat
public java.lang.String getRemoteAddress()
Supported Platforms: Linux, FreeBSD, Solaris, Win32.
System equivalent commands:
netstat
public int getType()
Supported Platforms: Linux, FreeBSD, Solaris, Win32.
System equivalent commands:
netstat
public int getState()
Supported Platforms: Linux, FreeBSD, Solaris, Win32.
System equivalent commands:
netstat
public long getSendQueue()
Supported Platforms: Linux, FreeBSD, Solaris.
System equivalent commands:
netstat
public long getReceiveQueue()
Supported Platforms: Linux, FreeBSD, Solaris.
System equivalent commands:
netstat
public java.lang.String getTypeString()
public static java.lang.String getStateString(int state)
public java.lang.String getStateString()
public java.util.Map toMap()
public java.lang.String toString()
toString
in class java.lang.Object
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |