@ProviderType
public class NetworkStateChangedEvent
extends org.osgi.service.event.Event
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
NETWORK_EVENT_NEW_STATE_PROPERTY
Name of the property to access the new network state
|
static java.lang.String |
NETWORK_EVENT_STATE_CHANGED_TOPIC
Topic of the NetworkStateChangedEvent
|
Constructor and Description |
---|
NetworkStateChangedEvent(java.util.Map<java.lang.String,?> properties) |
Modifier and Type | Method and Description |
---|---|
NetworkState |
getState()
Returns the new network state.
|
public static final java.lang.String NETWORK_EVENT_STATE_CHANGED_TOPIC
public static final java.lang.String NETWORK_EVENT_NEW_STATE_PROPERTY
public NetworkStateChangedEvent(java.util.Map<java.lang.String,?> properties)
public NetworkState getState()