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

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

public class ServiceAreaTask
extends Object


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

Constructor Detail

ServiceAreaTask

public ServiceAreaTask(String url)

ServiceAreaTask

public ServiceAreaTask(String url,
                       UserCredentials credentials)
Method Detail

getDefaultParameters

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

Returns:
the default parameters
Throws:
Exception - the exception

solve

public ServiceAreaResult solve(ServiceAreaTaskParameters parameters)
                        throws Exception
Solve.

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

solveAsync

public void solveAsync(ServiceAreaTaskParameters parameters,
                       CallbackListener<ServiceAreaResult> callback)
Solve async.

Parameters:
parameters - the parameters
callback - the callback


Copyright © 2012. All Rights Reserved.