com.esri.core.tasks.ags.na
Class RoutingTask
java.lang.Object
com.esri.core.tasks.ags.na.RoutingTask
public class RoutingTask
- extends Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RoutingTask
public RoutingTask(String url)
RoutingTask
public RoutingTask(String url,
UserCredentials credentials)
getDefaultParameters
public RoutingTaskParameters getDefaultParameters()
throws Exception
- Retrieves the default parameters as defined by the service layer.
- Returns:
- the default parameters
- Throws:
Exception
- the exception
solve
public RoutingResult solve(RoutingTaskParameters parameters)
throws Exception
- Solve.
- Parameters:
parameters
- the parameters
- Returns:
- the routing result
- Throws:
Exception
- the exception
solveAsync
public void solveAsync(RoutingTaskParameters parameters,
CallbackListener<RoutingResult> callback)
- Solve async.
- Parameters:
parameters
- the parameterscallback
- the callback
Copyright © 2012. All Rights Reserved.