public interface NetworkService
Modifier and Type | Method and Description |
---|---|
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.
|
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 pointsEsfException
List<NetInterface<? extends NetInterfaceAddress>> getActiveNetworkInterfaces() throws EsfException
EsfException
String getModemPppPort(ModemDevice modemDevice) throws EsfException
EsfException
Copyright © 2013. All Rights Reserved.