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

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

public class RoutingTask
extends Object


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

Constructor Detail

RoutingTask

public RoutingTask(String url)

RoutingTask

public RoutingTask(String url,
                   UserCredentials credentials)
Method Detail

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 parameters
callback - the callback


Copyright © 2012. All Rights Reserved.