public class ObservationSubmitter extends Object implements IObservationSubmitter
| Constructor and Description |
|---|
ObservationSubmitter(String sosUrl,
String authorizationToken) |
| Modifier and Type | Method and Description |
|---|---|
void |
insertObservations(ObservationCollection observationCollection)
Insert observations from the observationCollection object to the SOS.
|
void |
update(SosSensor sensor,
com.axiomalaska.phenomena.Phenomenon phenomenon,
ObservationRetriever observationRetriever)
Pull: Update the observations of a station with a specific phenomenon in the SOS server.
|
public void update(SosSensor sensor, com.axiomalaska.phenomena.Phenomenon phenomenon, ObservationRetriever observationRetriever) throws InvalidObservationCollectionException, ObservationRetrievalException, SosCommunicationException, com.axiomalaska.ioos.sos.exception.UnsupportedGeometryTypeException
IObservationSubmitterupdate in interface IObservationSubmittersensor - - the sensor from which to pull observationsphenomenon - - the phenomenon for which to pull observationsobservationRetriever - - retrieves observations from the sensorInvalidObservationCollectionExceptionObservationRetrievalExceptionSosCommunicationExceptioncom.axiomalaska.ioos.sos.exception.UnsupportedGeometryTypeExceptionpublic void insertObservations(ObservationCollection observationCollection) throws InvalidObservationCollectionException, ObservationRetrievalException, SosCommunicationException, com.axiomalaska.ioos.sos.exception.UnsupportedGeometryTypeException
observationCollection - - contains the observations to be placed in the SOSInvalidObservationCollectionExceptionObservationRetrievalExceptionSosCommunicationExceptioncom.axiomalaska.ioos.sos.exception.UnsupportedGeometryTypeExceptionCopyright © 2016. All Rights Reserved.