AGSNAMessage Class Reference


Description

Instances of this class represent messages generated during the execution of a network analyst task. Messages provide information about warnings or errors encountered while performing analysis and could be very helpful in troublshooting any problems. It is always a good idea to inspect the messages to ensure that the analysis is performed correctly.

Since:
1.8
Inheritance diagram for AGSNAMessage:
<AGSCoding>

List of all members.

Public Member Functions

(void) - decodeWithJSON:
(NSDictionary *) - encodeToJSON
(id) - initWithJSON:

Properties

NSString * description
AGSNAMessageType type

Member Function Documentation

- (void) decodeWithJSON: (NSDictionary *)  json   [optional, inherited]

Decode object from JSON representation.

Parameters:
json The JSON representation of the object to be decoded.
Since:
1.0
- (NSDictionary *) encodeToJSON   [optional, inherited]

Encode and return JSON representation for object.

Returns:
JSON representation of object.
Since:
1.0
- (id) initWithJSON: (NSDictionary *)  json   [optional, inherited]

Initialize and return object from JSON representation.

Parameters:
json The JSON representation of the object to be created.
Returns:
Object decoded from JSON representation.
Since:
1.0

Property Documentation

- (NSString*) description [read, copy]

A description of the network analyst message.

Since:
1.8
- (AGSNAMessageType) type [read, assign]

The network analyst message type, see constants table for a list of values.

Since:
1.8