Iq class documentation

Authors

Generated by root

Contents -

  1. Software documentation for the Iq class
  2. Iq types

Software documentation for the Iq class

Iq : TRXMLNullHandler

Declared in:
Iq.h
An object encapsulating an info-query stanza. Child elements are parsed by objects retrieved from an IqStanzaFactory and stored in a dictionary.

Instance Variables

Method summary

children 

- (NSDictionary*) children;
Returns a dictionary containing the children. The key under which each is stored is defined in the IqStanzaFactory, as is the class used to parse it.

jid 

- (JID*) jid;
Returns the Jabber ID of the sender.

sequenceID 

- (NSString*) sequenceID;
Returns the ID of the iq stanza. Each set or get iq should have a corresponding error or result stanza with the same ID, however this ID should be unique for each pair of correspondents.

type 

- (iq_type_t) type;
Returns the type of the iq stanza. This is IQ_TYPE_{SET,GET,RESULT,ERROR}, for set, get, result and error types, respectively.



Instance Variables for Iq Class

children

@protected NSMutableDictionary* children;
Description forthcoming.

jid

@protected JID* jid;
Description forthcoming.

sequenceID

@protected NSString* sequenceID;
Description forthcoming.

type

@protected iq_type_t type;
Description forthcoming.




Iq types

iq_type_t

typedef enum ... iq_type_t;
Description forthcoming.