@ProviderType
public interface NetworkService
Modifier and Type | Method and Description |
---|---|
java.util.List<NetInterface<? extends NetInterfaceAddress>> |
getActiveNetworkInterfaces()
Return the active NetworkIntefaces which have active connections for the system.
|
java.util.List<java.lang.String> |
getAllNetworkInterfaceNames()
Gets the names of all the network interface attached to the system.
|
java.util.List<WifiAccessPoint> |
getAllWifiAccessPoints()
Returns the list of all available WifiAccessPoints as seen from the system.
|
java.lang.String |
getModemPppPort(ModemDevice modemDevice) |
java.lang.String |
getModemUsbPort(java.lang.String interfaceName) |
java.util.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(java.lang.String interfaceName)
Returns the state of a specific network interface
|
java.util.List<WifiAccessPoint> |
getWifiAccessPoints(java.lang.String wifiInterfaceName)
Returns the list of the WifiAccessPoints visible from the specified wifi network interface.
|
NetworkState getState() throws KuraException
KuraException
NetInterfaceState getState(java.lang.String interfaceName) throws KuraException
KuraException
java.util.List<java.lang.String> getAllNetworkInterfaceNames() throws KuraException
KuraException
java.util.List<NetInterface<? extends NetInterfaceAddress>> getNetworkInterfaces() throws KuraException
KuraException
java.util.List<WifiAccessPoint> getAllWifiAccessPoints() throws KuraException
KuraException
java.util.List<WifiAccessPoint> getWifiAccessPoints(java.lang.String wifiInterfaceName) throws KuraException
wifiInterfaceName
- name of the interface used to scan for the available access pointsKuraException
java.util.List<NetInterface<? extends NetInterfaceAddress>> getActiveNetworkInterfaces() throws KuraException
KuraException
java.lang.String getModemUsbPort(java.lang.String interfaceName)
java.lang.String getModemPppPort(ModemDevice modemDevice) throws KuraException
KuraException