NASA World Wind WMS

gov.nasa.worldwind.servers.wms.generators
Class ScankortGenerator.ScankortServiceInstance

java.lang.Object
  extended by gov.nasa.worldwind.servers.wms.generators.AbstractMapGenerator.AbstractServiceInstance
      extended by gov.nasa.worldwind.servers.wms.generators.ScankortGenerator.ScankortServiceInstance
All Implemented Interfaces:
MapGenerator.ServiceInstance
Enclosing class:
ScankortGenerator

public class ScankortGenerator.ScankortServiceInstance
extends gov.nasa.worldwind.servers.wms.generators.AbstractMapGenerator.AbstractServiceInstance


Constructor Summary
ScankortGenerator.ScankortServiceInstance()
           
 
Method Summary
 java.awt.image.BufferedImage buildBufferedImage(IMapRequest req)
           
protected  double calcPixelSizeOfRequestArea(IMapRequest req)
           
 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.
 
Methods inherited from class gov.nasa.worldwind.servers.wms.generators.AbstractMapGenerator.AbstractServiceInstance
serviceRequest
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ScankortGenerator.ScankortServiceInstance

public ScankortGenerator.ScankortServiceInstance()
Method Detail

buildBufferedImage

public java.awt.image.BufferedImage buildBufferedImage(IMapRequest req)
                                                throws java.io.IOException,
                                                       WMSServiceException
Throws:
java.io.IOException
WMSServiceException

calcPixelSizeOfRequestArea

protected double calcPixelSizeOfRequestArea(IMapRequest req)

freeResources

public void freeResources()
Description copied from interface: MapGenerator.ServiceInstance
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

public ImageFormatter serviceRequest(IMapRequest req)
                              throws java.io.IOException,
                                     WMSServiceException
Description copied from interface: MapGenerator.ServiceInstance
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.

Returns:
Throws:
java.io.IOException
WMSServiceException

NASA World Wind WMS