NASA World Wind WMS

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

All Known Implementing Classes:
gov.nasa.worldwind.servers.wms.generators.AbstractMapGenerator.AbstractServiceInstance, AsterGlobalElevation.Aster30mServiceInstance, BILGenerator.BILServiceInstance, BlueMarbleNG500MGenerator.BMNGServiceInstance, CompoundElevationsGenerator.CompoundServiceInstance, CompoundImageryGenerator.CompoundServiceInstance, DTEDGenerator.DTEDServiceInstance, DummyMapGenerator.DummyServiceInstance, ElevationSrtm3.Srtm3ServiceInstance, ElevationSrtm30.Srtm30ServiceInstance, ElevationSrtm3V4.Srtm3ServiceInstance, ElevationUSGSNED.USGSNED30mServiceInstance, ElevationUSGSNED10m.ElevationUSGSNED10mServiceInstance, EsatGenerator.EsatServiceInstance, NAIPGenerator.NAIPServiceInstance, RPFGenerator.RPFServiceInstance, ScankortGenerator.ScankortServiceInstance, WorldWindTiledLayer.BasicServiceInstance, WorldWindTiledLayer.NonComposableServiceInstance
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.
 ImageFormatter serviceRequest(IMapRequest req)
          Generates the imagery requested by a WMS-GetMap request.
 java.util.List<java.io.File> serviceRequest(WMSGetImageryListRequest req)
          An extension to the WMS messaging system.
 

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

ImageFormatter serviceRequest(IMapRequest req)
                              throws java.io.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:
java.io.IOException
WMSServiceException

serviceRequest

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

Parameters:
req -
Returns:
Throws:
java.io.IOException
WMSServiceException

NASA World Wind WMS