Package | Description |
---|---|
org.sensorhub.api.module | |
org.sensorhub.impl.module | |
org.sensorhub.impl.sensor | |
org.sensorhub.impl.sensor.sost |
Modifier and Type | Method and Description |
---|---|
void |
IModule.loadState(IModuleStateManager loader)
Restores the state of this module
Implementations of this method must block until the module state is successfully loaded or send an exception. |
void |
IModule.saveState(IModuleStateManager saver)
Saves the state of this module.
Implementations of this method must block until the module state is successfully saved or send an exception. |
Modifier and Type | Class and Description |
---|---|
class |
DefaultModuleStateManager
Default implementation of IModuleStateManager that saves info into files.
A folder is created for each module the first time its state is saved.
A main file is used for simple type values and a separate file is used for
each info stored as an OutputStream.
|
Modifier and Type | Method and Description |
---|---|
IModuleStateManager |
ModuleRegistry.getStateManager(String moduleID)
Returns the default state manager for the given module
|
Modifier and Type | Method and Description |
---|---|
void |
AbstractModule.loadState(IModuleStateManager loader) |
void |
AbstractModule.saveState(IModuleStateManager saver) |
Modifier and Type | Method and Description |
---|---|
void |
SensorSystem.loadState(IModuleStateManager loader) |
void |
AbstractSensorModule.loadState(IModuleStateManager loader) |
void |
SensorSystem.saveState(IModuleStateManager saver) |
void |
AbstractSensorModule.saveState(IModuleStateManager saver) |
Modifier and Type | Method and Description |
---|---|
void |
SOSVirtualSensor.loadState(IModuleStateManager loader) |
void |
SOSVirtualSensor.saveState(IModuleStateManager saver) |
Copyright © 2016 Sensia Software LLC. All rights reserved.