public class EnviroHandler extends EnvironmentCustomer.EnviroAdapter
| Modifier and Type | Method and Description | 
|---|---|
| double | getDepth()Required to be implemented to receive enviro updates. | 
| double | getLatitude() | 
| double | getLongitude() | 
| double | getTime() | 
| double | getTimeDate() | 
| void | updateSalinity(double value,
              double latitude,
              double longitude,
              double depth,
              Object time)Update salinity value | 
| void | updateSeaState(int value,
              double latitude,
              double longitude,
              Object time)Update sea state | 
| void | updateSurfaceAirPressure(double value,
                        double latitude,
                        double longitude,
                        double depth,
                        Object time)Environmental updates for surface air pressure come here. | 
| void | updateSurfaceAirTemperature(double value,
                           double latitude,
                           double longitude,
                           double depth,
                           Object time)Environmental updates for surface air temperature come here. | 
| void | updateSurfaceAirVelocity(double[] value,
                        double latitude,
                        double longitude,
                        double depth,
                        Object time)Environmental updates for surface wind velocity come here. | 
| void | updateWaterVelocity(double[] value,
                   double latitude,
                   double longitude,
                   double depth,
                   Object time)This is where environmental updates for this variable come in. | 
updateDensityAnomaly, updateSurfaceAirVelocityEW, updateSurfaceAirVelocityNS, updateSurfaceAirVelocityUD, updateSurfaceElevation, updateWaterTemp, updateWaterVelocityEW, updateWaterVelocityNS, updateWaterVelocityUDpublic void updateWaterVelocity(double[] value,
                       double latitude,
                       double longitude,
                       double depth,
                       Object time)
updateWaterVelocity in interface EnvironmentCustomer.EnviroListenerupdateWaterVelocity in class EnvironmentCustomer.EnviroAdaptervalue - 3d array of current velocity values, with units meters/sec, in order: EW, NS, UDlatitude - latitude (decimal degrees) at which the data was retrievedlongitude - longitude (decimal degrees) at which the data was retrieveddepth - depth (meters) at which the data was retrievedtime - Date object representing time when data was retrievedpublic void updateSurfaceAirVelocity(double[] value,
                            double latitude,
                            double longitude,
                            double depth,
                            Object time)
updateSurfaceAirVelocity in interface EnvironmentCustomer.EnviroListenerupdateSurfaceAirVelocity in class EnvironmentCustomer.EnviroAdaptervalue - 2d array of wind speed values, with units meters/sec, in order: EW, NSlatitude - latitude (decimal degrees) at which the data was retrievedlongitude - longitude (decimal degrees) at which the data was retrieveddepth - depth (meters) at which the data was retrievedtime - Date object representing time when data was retrievedpublic void updateSurfaceAirTemperature(double value,
                               double latitude,
                               double longitude,
                               double depth,
                               Object time)
updateSurfaceAirTemperature in interface EnvironmentCustomer.EnviroListenerupdateSurfaceAirTemperature in class EnvironmentCustomer.EnviroAdaptervalue - new air temperaturelatitude - latitude (decimal degrees) at which the data was retrievedlongitude - longitude (decimal degrees) at which the data was retrieveddepth - depth (meters) at which the data was retrievedtime - Date object representing time when data was retrievedpublic void updateSurfaceAirPressure(double value,
                            double latitude,
                            double longitude,
                            double depth,
                            Object time)
updateSurfaceAirPressure in interface EnvironmentCustomer.EnviroListenerupdateSurfaceAirPressure in class EnvironmentCustomer.EnviroAdaptervalue - new surface air pressurelatitude - latitude (decimal degrees) at which the data was retrievedlongitude - longitude (decimal degrees) at which the data was retrieveddepth - depth (meters) at which the data was retrievedtime - Date object representing time when data was retrievedpublic void updateSalinity(double value,
                  double latitude,
                  double longitude,
                  double depth,
                  Object time)
updateSalinity in interface EnvironmentCustomer.EnviroListenerupdateSalinity in class EnvironmentCustomer.EnviroAdaptervalue - new value for salinitylatitude - latitude (decimal degrees) at which the data was retrievedlongitude - longitude (decimal degrees) at which the data was retrieveddepth - depth (meters) at which the data was retrievedtime - Date object representing time when data was retrievedpublic void updateSeaState(int value,
                  double latitude,
                  double longitude,
                  Object time)
updateSeaState in interface EnvironmentCustomer.EnviroListenerupdateSeaState in class EnvironmentCustomer.EnviroAdaptervalue - new sea-state valuelatitude - latitude (decimal degrees) at which the data was retrievedlongitude - longitude (decimal degrees) at which the data was retrievedtime - Date object representing time when data was retrievedpublic double getDepth()
EnvironmentCustomer.EnviroListenergetDepth in interface EnvironmentCustomer.EnviroListenergetDepth in class EnvironmentCustomer.EnviroAdapterpublic double getLatitude()
getLatitude in interface EnvironmentCustomer.EnviroListenergetLatitude in class EnvironmentCustomer.EnviroAdapterpublic double getLongitude()
getLongitude in interface EnvironmentCustomer.EnviroListenergetLongitude in class EnvironmentCustomer.EnviroAdapterpublic double getTime()
getTime in interface EnvironmentCustomer.EnviroListenergetTime in class EnvironmentCustomer.EnviroAdapterpublic double getTimeDate()
getTimeDate in interface EnvironmentCustomer.EnviroListenergetTimeDate in class EnvironmentCustomer.EnviroAdapter