|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.eurotech.framework.emulator.net.EmulatedNetworkServiceImpl
public class EmulatedNetworkServiceImpl
Constructor Summary | |
---|---|
EmulatedNetworkServiceImpl()
|
Method Summary | |
---|---|
protected void |
activate(org.osgi.service.component.ComponentContext componentContext)
|
protected void |
deactivate(org.osgi.service.component.ComponentContext componentContext)
|
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. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public EmulatedNetworkServiceImpl()
Method Detail |
---|
protected void activate(org.osgi.service.component.ComponentContext componentContext)
protected void deactivate(org.osgi.service.component.ComponentContext componentContext)
public NetworkState getState()
NetworkService
getState
in interface NetworkService
public NetInterfaceState getState(String interfaceName)
NetworkService
getState
in interface NetworkService
public List<String> getAllNetworkInterfaceNames() throws EsfException
NetworkService
getAllNetworkInterfaceNames
in interface NetworkService
EsfException
public List<NetInterface<? extends NetInterfaceAddress>> getNetworkInterfaces() throws EsfException
NetworkService
getNetworkInterfaces
in interface NetworkService
EsfException
public List<WifiAccessPoint> getAllWifiAccessPoints()
NetworkService
getAllWifiAccessPoints
in interface NetworkService
public List<WifiAccessPoint> getWifiAccessPoints(String wifiInterfaceName)
NetworkService
getWifiAccessPoints
in interface NetworkService
wifiInterfaceName
- name of the interface used to scan for the available access points
public List<NetInterface<? extends NetInterfaceAddress>> getActiveNetworkInterfaces() throws EsfException
NetworkService
getActiveNetworkInterfaces
in interface NetworkService
EsfException
public String getModemUsbPort(String interfaceName)
getModemUsbPort
in interface NetworkService
public String getModemPppPort(ModemDevice modemDevice) throws EsfException
getModemPppPort
in interface NetworkService
EsfException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |