NASA World Wind WMS

gov.nasa.worldwind.servers.wms
Interface MapGenerator.ServiceInstance

All Known Implementing Classes:
EsatGenerator.EsatServiceInstance, RPFGenerator.RPFServiceInstance
Enclosing interface:
MapGenerator

public static interface MapGenerator.ServiceInstance

Encapsulates per-request state needed to generate a response to a GetMap request.


Method Summary
 void freeResources()
          Called by the WMS after the GetMap response has been delivered.
 List<File> serviceRequest(WMSGetImageryListRequest req)
          An extension to the WMS messaging system.
 ImageFormatter serviceRequest(WMSGetMapRequest req)
          Generates the imagery requested by a WMS-GetMap request.
 

Method Detail

freeResources

void freeResources()
Called by the WMS after the GetMap response has been delivered. This method allows a MapGenerator to reclaim any resources, such as temporary files, etc., that were allocated during the generation of the map request. This method can be implemented as a no-op if no resources need to be reclaimed.


serviceRequest

List<File> serviceRequest(WMSGetImageryListRequest req)
                          throws IOException,
                                 WMSServiceException
An extension to the WMS messaging system. Unsupported for external use at present.

Parameters:
req -
Returns:
Throws:
IOException
WMSServiceException

serviceRequest

ImageFormatter serviceRequest(WMSGetMapRequest req)
                              throws IOException,
                                     WMSServiceException
Generates the imagery requested by a WMS-GetMap request. The WMS ensures that the WMSGetMapRequest represents a well-formed WMS GetMap request; i.e., all required parameters are present and well-formed.

Parameters:
req -
Returns:
Throws:
IOException
WMSServiceException

NASA World Wind WMS