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