Class AdvisoriesHandler
- java.lang.Object
-
- com.aerisweather.aeris.maps.handlers.AerisPointHandler
-
- com.aerisweather.aeris.maps.handlers.AdvisoriesHandler
-
- All Implemented Interfaces:
com.aerisweather.aeris.communication.AerisCallback
public class AdvisoriesHandler extends AerisPointHandler
Response handler for handling Advisory query responses from the Aeris servers and passing the warning polygon data to the AerisMapView.
-
-
Field Summary
-
Fields inherited from class com.aerisweather.aeris.maps.handlers.AerisPointHandler
mapView, pointData
-
-
Constructor Summary
Constructors Constructor Description AdvisoriesHandler(AerisMapView mapView)
Constructor that passes the mapview to the super class and point data type warnings.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
handleResponse(com.aerisweather.aeris.model.AerisResponse response)
Handles the response from the server.-
Methods inherited from class com.aerisweather.aeris.maps.handlers.AerisPointHandler
getSnippet, onResult
-
-
-
-
Constructor Detail
-
AdvisoriesHandler
public AdvisoriesHandler(AerisMapView mapView)
Constructor that passes the mapview to the super class and point data type warnings.- Parameters:
mapView
- AerisMapView to use.
-
-
Method Detail
-
handleResponse
public void handleResponse(com.aerisweather.aeris.model.AerisResponse response)
Description copied from class:AerisPointHandler
Handles the response from the server.- Overrides:
handleResponse
in classAerisPointHandler
- Parameters:
response
- response object
-
-