public interface ISOSDataConsumer
Interface to be implemented for consuming data received by the SOS-T interface. One data consumer is mapped for each SOS offering and receives data when transactional operations are used (InsertSensor, UpdateSensor, DeleteSensor, InsertObservation, InsertResultTemplate, InsertResult).
Modifier and Type | Interface and Description |
---|---|
static class |
ISOSDataConsumer.Template |
Modifier and Type | Method and Description |
---|---|
ISOSDataConsumer.Template |
getTemplate(String templateID)
Retrieve previously registered template information
|
void |
newObservation(IObservation... observations)
Requests consumer to process a list of new observations
|
void |
newResultRecord(String templateID,
DataBlock... datablocks)
Requests consumer to process a list of new result records
|
String |
newResultTemplate(DataComponent component,
DataEncoding encoding,
IObservation obsTemplate)
Requests consumer to prepare for receiving new result records with given
data structure and encoding
|
void |
updateSensor(AbstractProcess newSensorDescription)
Requests consumer to update sensor description
|
void updateSensor(AbstractProcess newSensorDescription) throws Exception
newSensorDescription
- Exception
void newObservation(IObservation... observations) throws Exception
observations
- Exception
String newResultTemplate(DataComponent component, DataEncoding encoding, IObservation obsTemplate) throws Exception
component
- encoding
- obsTemplate
- Exception
void newResultRecord(String templateID, DataBlock... datablocks) throws Exception
templateID
- datablocks
- Exception
ISOSDataConsumer.Template getTemplate(String templateID) throws Exception
templateID
- Exception
Copyright © 2016 Sensia Software LLC. All rights reserved.