com.eurotech.framework.net.wifi
Class WifiAccessPointAddedEvent

java.lang.Object
  extended by org.osgi.service.event.Event
      extended by com.eurotech.framework.net.wifi.WifiAccessPointAddedEvent

public class WifiAccessPointAddedEvent
extends org.osgi.service.event.Event

Emitted when a new access point is found by the device.


Field Summary
static String NETWORK_EVENT_ACCESS_POINT_PROPERTY
          Name of the property to access the access point
static String NETWORK_EVENT_ACCESSPOINT_ADDED_TOPIC
          Topic of the WifiAccessPointAddedEvent
static String NETWORK_EVENT_INTERFACE_PROPERTY
          Name of the property to access the network interface name
 
Constructor Summary
WifiAccessPointAddedEvent(Map<String,?> properties)
           
 
Method Summary
 WifiAccessPoint getAccessPoint()
          Returns the name of the added access point.
 String getInterfaceName()
          Returns the network interface name.
 
Methods inherited from class org.osgi.service.event.Event
containsProperty, equals, getProperty, getPropertyNames, getTopic, hashCode, matches, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

NETWORK_EVENT_ACCESSPOINT_ADDED_TOPIC

public static final String NETWORK_EVENT_ACCESSPOINT_ADDED_TOPIC
Topic of the WifiAccessPointAddedEvent

See Also:
Constant Field Values

NETWORK_EVENT_INTERFACE_PROPERTY

public static final String NETWORK_EVENT_INTERFACE_PROPERTY
Name of the property to access the network interface name

See Also:
Constant Field Values

NETWORK_EVENT_ACCESS_POINT_PROPERTY

public static final String NETWORK_EVENT_ACCESS_POINT_PROPERTY
Name of the property to access the access point

See Also:
Constant Field Values
Constructor Detail

WifiAccessPointAddedEvent

public WifiAccessPointAddedEvent(Map<String,?> properties)
Method Detail

getInterfaceName

public String getInterfaceName()
Returns the network interface name.

Returns:

getAccessPoint

public WifiAccessPoint getAccessPoint()
Returns the name of the added access point.

Returns:


Copyright © 2013. All Rights Reserved.