|
SPFramework API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IOutputPlugin
Interface for a IOutputPlugin. a Plugin waits for
new data obtained by the SPFEngine
and works with
the new data.
Field Summary |
---|
Fields inherited from interface org.n52.ifgicopter.spf.common.IModule |
---|
STATUS_NOT_RUNNING, STATUS_RUNNING |
Method Summary | |
---|---|
String |
getName()
|
int |
getStatus()
|
String |
getStatusString()
This method should return a String representing the current status of the IOutputPlugin . |
PluginGUI |
getUserInterface()
If this method returns a PluginGUI not equal null
the Panel is then rendered in the framework gui. |
int |
processData(Map<Long,Map<String,Object>> data,
Plugin plugin)
The map contains one mandatory item: the time property of the IInputPlugin . |
int |
processSingleData(Map<String,Object> data,
Long timestamp,
Plugin plugin)
The map contains one mandatory item: the time property of the IInputPlugin . |
void |
restart()
this method might be called sometime (e.g., if metadata of InputPlugins have changed). |
Methods inherited from interface org.n52.ifgicopter.spf.common.IModule |
---|
init, shutdown |
Method Detail |
---|
int processData(Map<Long,Map<String,Object>> data, Plugin plugin)
IInputPlugin
.
All other attributes are optional and hold
the measurements of the Sensor
data
- a map containing the values of a measurement.plugin
- the plugin which has generated the output
int processSingleData(Map<String,Object> data, Long timestamp, Plugin plugin)
IInputPlugin
.
All other attributes are optional and hold
the measurements of the Sensor
data
- a map containing the values of a measurement.timestamp
- the time of measurementplugin
- the plugin which has generated the output
String getStatusString()
IOutputPlugin
.
String getName()
int getStatus()
void restart() throws Exception
Exception
- if restart failedPluginGUI getUserInterface()
PluginGUI
not equal null
the Panel is then rendered in the framework gui.
|
SPFramework API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |