Package | Description |
---|---|
org.sensorhub.api.module | |
org.sensorhub.impl.module | |
org.sensorhub.impl.persistence |
Modifier and Type | Field and Description |
---|---|
protected ModuleEvent.ModuleState |
ModuleEvent.newState |
Modifier and Type | Method and Description |
---|---|
ModuleEvent.ModuleState |
IModule.getCurrentState() |
ModuleEvent.ModuleState |
ModuleEvent.getNewState() |
static ModuleEvent.ModuleState |
ModuleEvent.ModuleState.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ModuleEvent.ModuleState[] |
ModuleEvent.ModuleState.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
boolean |
IModule.waitForState(ModuleEvent.ModuleState state,
long timeout)
Waits until the module reaches the specified state or times out.
This method will return immediately if the state has already been reached. |
Constructor and Description |
---|
ModuleEvent(IModule<?> module,
ModuleEvent.ModuleState newState) |
Modifier and Type | Field and Description |
---|---|
protected ModuleEvent.ModuleState |
AbstractModule.state |
Modifier and Type | Method and Description |
---|---|
ModuleEvent.ModuleState |
AbstractModule.getCurrentState() |
Modifier and Type | Method and Description |
---|---|
protected void |
AbstractModule.setState(ModuleEvent.ModuleState newState)
Sets the module state and sends the appropriate event if it has changed
|
boolean |
AbstractModule.waitForState(ModuleEvent.ModuleState state,
long timeout) |
Modifier and Type | Method and Description |
---|---|
protected void |
GenericStreamStorage.setState(ModuleEvent.ModuleState newState) |
Copyright © 2016 Sensia Software LLC. All rights reserved.