public interface ISPSConnector
Interface for all SPS connectors. Implementations can connect to sensors, process, etc.
Modifier and Type | Method and Description |
---|---|
void |
cleanup()
Called when the connector is removed
|
SPSOfferingCapabilities |
generateCapabilities()
Builds the offering capabilities using the connector configuration
This will connect to source to retrieve the necessary metadata
|
AbstractProcess |
generateSensorMLDescription(double time)
Retrieves the SensorML description associated to this connector
|
SPSConnectorConfig |
getConfig() |
boolean |
isEnabled()
Allows to check if provider is enabled
|
void |
sendSubmitData(ITask task,
DataBlock data)
Sends the command data through the connector
|
void |
updateCapabilities()
Update capabilities previously generated by this connector if needed.
|
SPSConnectorConfig getConfig()
boolean isEnabled()
SPSOfferingCapabilities generateCapabilities() throws Exception
Exception
void updateCapabilities() throws Exception
generateCapabilities()
Exception
AbstractProcess generateSensorMLDescription(double time) throws Exception
time
- Time at which the description should be validException
void sendSubmitData(ITask task, DataBlock data) throws Exception
task
- data
- Exception
void cleanup()
Copyright © 2016 Sensia Software LLC. All rights reserved.