com.esri.core.tasks.ags.na
Class ClosestFacilityTask
java.lang.Object
com.esri.core.tasks.ags.na.ClosestFacilityTask
public class ClosestFacilityTask
- extends Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ClosestFacilityTask
public ClosestFacilityTask(String url)
ClosestFacilityTask
public ClosestFacilityTask(String url,
UserCredentials credentials)
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 parameterscallback
- the callback
Copyright © 2012. All Rights Reserved.