com.eurotech.framework.net
Class NetworkStateChangedEvent

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

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

Event raised when the state of the network has changed.


Field Summary
static String NETWORK_EVENT_NEW_STATE_PROPERTY
          Name of the property to access the new network state
static String NETWORK_EVENT_STATE_CHANGED_TOPIC
          Topic of the NetworkStateChangedEvent
 
Constructor Summary
NetworkStateChangedEvent(Map<String,?> properties)
           
 
Method Summary
 NetworkState getState()
          Returns the new network state.
 
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_STATE_CHANGED_TOPIC

public static final String NETWORK_EVENT_STATE_CHANGED_TOPIC
Topic of the NetworkStateChangedEvent

See Also:
Constant Field Values

NETWORK_EVENT_NEW_STATE_PROPERTY

public static final String NETWORK_EVENT_NEW_STATE_PROPERTY
Name of the property to access the new network state

See Also:
Constant Field Values
Constructor Detail

NetworkStateChangedEvent

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

getState

public NetworkState getState()
Returns the new network state.

Returns:


Copyright © 2013. All Rights Reserved.