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 KuraException
KuraExceptionNetInterfaceState getState(String interfaceName) throws KuraException
KuraExceptionList<String> getAllNetworkInterfaceNames() throws KuraException
KuraExceptionList<NetInterface<? extends NetInterfaceAddress>> getNetworkInterfaces() throws KuraException
KuraExceptionList<WifiAccessPoint> getAllWifiAccessPoints() throws KuraException
KuraExceptionList<WifiAccessPoint> getWifiAccessPoints(String wifiInterfaceName) throws KuraException
wifiInterfaceName - name of the interface used to scan for the available access pointsKuraExceptionList<NetInterface<? extends NetInterfaceAddress>> getActiveNetworkInterfaces() throws KuraException
KuraExceptionString getModemPppPort(ModemDevice modemDevice) throws KuraException
KuraExceptionCopyright © 2016. All Rights Reserved.