|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Utilities to check the status of a network link
Field Summary | |
static java.lang.String |
SERVICE_NAME
service name of this interface for the bundle activator (com.esf.util.net.service) |
Method Summary | |
java.lang.String |
getIpAddress(java.lang.String ifaceName)
gets the IP address for a specified interface. |
java.lang.String |
getMacAddress(java.lang.String ifaceName)
gets the MAC address for a specified interface. |
boolean |
isLinkUp(java.lang.String ifaceName)
checks to see if a valid link is present |
boolean |
isUp(java.lang.String ifaceName)
checks to see if an interface is 'up' |
Field Detail |
public static final java.lang.String SERVICE_NAME
Method Detail |
public boolean isUp(java.lang.String ifaceName)
ifaceName
- the interface to check
public java.lang.String getIpAddress(java.lang.String ifaceName)
ifaceName
- the interface to get the IP address of
public boolean isLinkUp(java.lang.String ifaceName)
ifaceName
- the interface to check
public java.lang.String getMacAddress(java.lang.String ifaceName)
ifaceName
- the interface to get the MAC address of
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |