AGSTask Class Reference


Description

Base class to hold common objects among ArcGIS tasks. You should never instantiate an AGSTask object directly.

Since:
1.0
Inheritance diagram for AGSTask:
<AGSSecuredResource> AGSClosestFacilityTask AGSFindTask AGSGeometryServiceTask AGSGeoprocessor AGSIdentifyTask AGSLocator AGSQueryTask AGSRouteTask AGSServiceAreaTask

List of all members.

Public Member Functions

(id) - initWithURL:
(id) - initWithURL:credential:

Properties

AGSCredentialcredential
NSURL * URL

Member Function Documentation

- (id) initWithURL: (NSURL *)  url  

Initialize the task.

Parameters:
url URL to a task resource in the ArcGIS Server REST Services Directory.
Returns:
A new task object.
Since:
1.0
- (id) initWithURL: (NSURL *)  url
credential: (AGSCredential *)  cred 

Initialize the task with a URL and credential to a secured resource.

Parameters:
url URL to a task resource in the ArcGIS Server REST Services Directory.
cred AGSCredential used to access secure resource.
Returns:
A new task object.
Since:
1.0

Property Documentation

- (AGSCredential*) credential [read, write, copy]

The credential to be used to access secured resources.

Since:
1.0

Reimplemented from <AGSSecuredResource>.

- (NSURL*) URL [read, copy]

URL to a task resource in the ArcGIS Server REST Services Directory.

Since:
1.0