public interface IStreamingDataInterface extends IEventProducer
Generic interface for all data producers using the SWE model to describe structure and encoding of data they generate (e.g. sensors, processes...)
Modifier and Type | Method and Description |
---|---|
double |
getAverageSamplingPeriod()
Gets the average rate at which this interface produces data.
|
net.opengis.swe.v20.DataBlock |
getLatestRecord()
Gets the latest record received on this data channel.
|
long |
getLatestRecordTime()
Used to check when the last record was produced.
This is usually set as system time when the output is sent, and must be the same as the corresponding event time stamp. |
String |
getName() |
IDataProducerModule<?> |
getParentModule()
Allows by-reference access to parent module
|
net.opengis.swe.v20.DataEncoding |
getRecommendedEncoding()
Provides the recommended encoding for records produced by this interface.
|
net.opengis.swe.v20.DataComponent |
getRecordDescription()
Retrieves the definition of records produced by this interface.
|
boolean |
isEnabled()
Checks if this interface is enabled
|
registerListener, unregisterListener
IDataProducerModule<?> getParentModule()
String getName()
boolean isEnabled()
net.opengis.swe.v20.DataComponent getRecordDescription()
Note that this is usually sent by reference and MUST not be modified
by the caller. If you really need to modify it, first get an independent
copy using DataComponent.copy()
net.opengis.swe.v20.DataEncoding getRecommendedEncoding()
Note that this is usually sent by reference and MUST not be modified
by the caller. If you really need to modify it, first get an independent
copy using DataEncoding.copy()
net.opengis.swe.v20.DataBlock getLatestRecord()
long getLatestRecordTime()
Note: this method is useful to know if a record has been produced since the
last call to getLatestRecord()
.
Long.MIN_VALUE
if no record is available yetdouble getAverageSamplingPeriod()
Copyright © 2015 Sensia Software LLC. All rights reserved.