|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface NetworkService
The NetworkService allows to browse and configure the network interfaces of the system.
NetworkService extends what is offered by the standard Java APIs by offering information
like the NetworkInterface type - e.g. wired vs wireless vs modem - and additional information
regarding the address of a NetworkInterface - e.g. its getway address, DNS, and so on.
Method Summary | |
---|---|
List<NetInterface<? extends NetInterfaceAddress>> |
getActiveNetworkInterfaces()
Return the active NetworkIntefaces which have active connections for the system. |
List<String> |
getAllNetworkInterfaceNames()
Gets the names of all the network interface attached to the system. |
List<WifiAccessPoint> |
getAllWifiAccessPoints()
Returns the list of all available WifiAccessPoints as seen from the system. |
String |
getModemPppPort(ModemDevice modemDevice)
|
String |
getModemUsbPort(String interfaceName)
|
List<NetInterface<? extends NetInterfaceAddress>> |
getNetworkInterfaces()
Gets the names of all the network interface attached to the system. |
NetworkState |
getState()
Returns the overall state of the networking subsystem |
NetInterfaceState |
getState(String interfaceName)
Returns the state of a specific network interface |
List<WifiAccessPoint> |
getWifiAccessPoints(String wifiInterfaceName)
Returns the list of the WifiAccessPoints visible from the specified wifi network interface. |
Method Detail |
---|
NetworkState getState() throws EsfException
EsfException
NetInterfaceState getState(String interfaceName) throws EsfException
EsfException
List<String> getAllNetworkInterfaceNames() throws EsfException
EsfException
List<NetInterface<? extends NetInterfaceAddress>> getNetworkInterfaces() throws EsfException
EsfException
List<WifiAccessPoint> getAllWifiAccessPoints() throws EsfException
EsfException
List<WifiAccessPoint> getWifiAccessPoints(String wifiInterfaceName) throws EsfException
wifiInterfaceName
- name of the interface used to scan for the available access points
EsfException
List<NetInterface<? extends NetInterfaceAddress>> getActiveNetworkInterfaces() throws EsfException
EsfException
String getModemUsbPort(String interfaceName)
String getModemPppPort(ModemDevice modemDevice) throws EsfException
EsfException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |