com.esri.core.tasks.ags.na
Class ClosestFacilityTask

java.lang.Object
  extended by com.esri.core.tasks.ags.na.ClosestFacilityTask

public class ClosestFacilityTask
extends Object


Constructor Summary
ClosestFacilityTask(String url)
           
ClosestFacilityTask(String url, UserCredentials credentials)
           
 
Method Summary
 ClosestFacilityTaskParameters getDefaultParameters()
          Retrieves the default parameters as defined by the service layer.
 ClosestFacilityResult solve(ClosestFacilityTaskParameters parameters)
          Solve.
 void solveAsync(ClosestFacilityTaskParameters parameters, CallbackListener<ClosestFacilityResult> callback)
          Solve async.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ClosestFacilityTask

public ClosestFacilityTask(String url)

ClosestFacilityTask

public ClosestFacilityTask(String url,
                           UserCredentials credentials)
Method Detail

getDefaultParameters

public ClosestFacilityTaskParameters getDefaultParameters()
                                                   throws Exception
Retrieves the default parameters as defined by the service layer.

Returns:
the default parameters
Throws:
Exception - the exception

solve

public ClosestFacilityResult solve(ClosestFacilityTaskParameters parameters)
                            throws Exception
Solve.

Parameters:
parameters - the parameters
Returns:
the routing result
Throws:
Exception - the exception

solveAsync

public void solveAsync(ClosestFacilityTaskParameters parameters,
                       CallbackListener<ClosestFacilityResult> callback)
Solve async.

Parameters:
parameters - the parameters
callback - the callback


Copyright © 2012. All Rights Reserved.