public interface IMultiSourceDataProducer
Interface for multi-source data producers.
This type of producer can be used to model an entire group of data sources
(e.g. sensor network) and provides additional methods to filter data records
and metadata by entity ID (aka source ID).
In particular, outputs can be of type IMultiSourceDataInterface
allowing data from multiple sources to be multiplexed in a single data stream.
Modifier and Type | Method and Description |
---|---|
AbstractProcess |
getCurrentDescription(java.lang.String entityID)
Retrieves the most current SensorML description of the given entity.
|
net.opengis.gml.v32.AbstractFeature |
getCurrentFeatureOfInterest(java.lang.String entityID)
Retrieves the feature of interest for which the given entity is
currently generating data.
|
java.util.Collection<java.lang.String> |
getEntitiesWithFoi(java.lang.String foiID)
Gets IDs of entities that are observing the specified feature of interest.
|
java.util.Collection<java.lang.String> |
getEntityIDs() |
java.util.Collection<? extends net.opengis.gml.v32.AbstractFeature> |
getFeaturesOfInterest() |
java.util.Collection<java.lang.String> |
getFeaturesOfInterestIDs() |
double |
getLastDescriptionUpdate(java.lang.String entityID)
Used to check when SensorML description of the given entity was last updated.
|
java.util.Collection<java.lang.String> getEntityIDs()
AbstractProcess getCurrentDescription(java.lang.String entityID)
entityID
- unique ID of the desired entity (e.g. sensor in a network)double getLastDescriptionUpdate(java.lang.String entityID)
entityID
- unique ID of the desired entity (e.g. sensor in a network)Long.MIN_VALUE
if description was never updated.net.opengis.gml.v32.AbstractFeature getCurrentFeatureOfInterest(java.lang.String entityID)
entityID
- unique ID of the desired entity (e.g. sensor in a network)java.util.Collection<? extends net.opengis.gml.v32.AbstractFeature> getFeaturesOfInterest()
java.util.Collection<java.lang.String> getFeaturesOfInterestIDs()
java.util.Collection<java.lang.String> getEntitiesWithFoi(java.lang.String foiID)
foiIDs
- ID of feature of interest