|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.eurotech.framework.linux.net.util.IwLinkTool
public class IwLinkTool
Constructor Summary | |
---|---|
IwLinkTool(String tool,
String ifaceName)
ethtool constructor |
Method Summary | |
---|---|
boolean |
get()
ethtool 'get' operation |
String |
getDuplex()
Reports duplex (full or half) |
String |
getIfaceName()
Reports interface name |
int |
getSpeed()
Reports link speed in bits/s |
boolean |
isLinkDetected()
Reports link status |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public IwLinkTool(String tool, String ifaceName)
ifaceName
- - interface name as String
Method Detail |
---|
public boolean get() throws EsfException
LinkTool
get
in interface LinkTool
boolean
EsfException
public String getIfaceName()
LinkTool
getIfaceName
in interface LinkTool
String
public boolean isLinkDetected()
LinkTool
isLinkDetected
in interface LinkTool
boolean
public int getSpeed()
LinkTool
getSpeed
in interface LinkTool
int
public String getDuplex()
LinkTool
getDuplex
in interface LinkTool
String
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |