StropheCappuccino API 1.0.0
TNStropheClient Class Reference

#import <TNStropheClient.h>

Inheritance diagram for TNStropheClient:

List of all members.

Public Member Functions

(void) - addFeature: [implementation]
(CPImage) - avatar [implementation]
(void) - changePassword: [implementation]
(CPString) - clientNode [implementation]
(void) - connect [implementation]
(TNStropheConnection- connection [implementation]
(void) - connection:errorCondition: [implementation]
(id) - delegate [implementation]
(void) - disconnect [implementation]
(void) - encodeWithCoder: [implementation]
(void) - getVCard [implementation]
(BOOL) - handleFeaturesDisco: [implementation]
(CPString) - identityCategory [implementation]
(CPString) - identityName [implementation]
(CPString) - identityType [implementation]
(id) - initWithCoder: [implementation]
(id) - initWithService: [implementation]
(id) - initWithService:JID:password: [implementation]
(TNStropheJID- JID [implementation]
(void) - notifyVCardUpdate: [implementation]
(void) - onStropheAuthenticating: [implementation]
(void) - onStropheAuthFail: [implementation]
(void) - onStropheConnected: [implementation]
(void) - onStropheConnectFail: [implementation]
(void) - onStropheConnecting: [implementation]
(void) - onStropheDisconnected: [implementation]
(void) - onStropheDisconnecting: [implementation]
(void) - onStropheError: [implementation]
(CPString) - password [implementation]
(void) - publishPEPPayload:toNode: [implementation]
(void) - removeFeature: [implementation]
(void) - set_features: [implementation]
(void) - setClientNode: [implementation]
(void) - setConnection: [implementation]
(void) - setDelegate: [implementation]
(void) - setIdentityCategory: [implementation]
(void) - setIdentityName: [implementation]
(void) - setIdentityType: [implementation]
(void) - setJID: [implementation]
(void) - setPassword: [implementation]
(void) - setPresenceShow:status: [implementation]
(void) - setVCard:object:selector:userInfo: [implementation]
(TNStropheVCard- vCard [implementation]

Static Public Member Functions

(void) + addNamespaceWithName:value: [implementation]
(TNStropheClient+ clientWithService: [implementation]
(TNStropheClient+ clientWithService:JID:password: [implementation]

Detailed Description

Definition at line 2 of file TNStropheClient.h.


Member Function Documentation

- (void) addFeature: (CPString)  aFeatureNamespace [implementation]

Definition at line 219 of file TNStropheClient.j.

+ (void) addNamespaceWithName: (CPString)  aName
value: (CPString)  aValue 
[implementation]

Definition at line 53 of file TNStropheClient.j.

- (CPImage) avatar [implementation]

Synthesized accessor method.

Definition at line 652 of file TNStropheClient.j.

- (void) changePassword: (CPString)  aPassword [implementation]

Change the current user password using XEP 0077 (InBand Registration)

Parameters:
aPasswordstring containing the new password

Definition at line 434 of file TNStropheClient.j.

- (CPString) clientNode [implementation]

Synthesized accessor method.

Definition at line 516 of file TNStropheClient.j.

+ (TNStropheClient) clientWithService: (CPString)  aService [implementation]

instantiate a TNStropheClient object

Parameters:
aServicea url of a bosh service (MUST be complete url with http://)
Returns:
a valid TNStropheClient

Definition at line 64 of file TNStropheClient.j.

+ (TNStropheClient) clientWithService: (CPString)  aService
JID: (TNStropheJID aJID
password: (CPString)  aPassword 
[implementation]

instantiate a TNStropheClient object

Parameters:
aServicea url of a bosh service (MUST be complete url with http://)
aJIDa JID to connect to the XMPP server
aPasswordthe password associated to the JID
Returns:
a valid TNStropheClient

Definition at line 77 of file TNStropheClient.j.

- (void) connect [implementation]

Definition at line 128 of file TNStropheClient.j.

- (TNStropheConnection) connection [implementation]

Synthesized accessor method.

Definition at line 612 of file TNStropheClient.j.

- (void) connection: (TNStropheConnection aConnection
errorCondition: (CPString)  anErrorCondition 
[implementation]

Definition at line 192 of file TNStropheClient.j.

- (id) delegate [implementation]

Synthesized accessor method.

Definition at line 596 of file TNStropheClient.j.

- (void) disconnect [implementation]

Definition at line 135 of file TNStropheClient.j.

- (void) encodeWithCoder: (CPCoder)  aCoder [implementation]

Reimplemented in TNStropheIMClient.

Definition at line 485 of file TNStropheClient.j.

- (void) getVCard [implementation]

get the vCard of the client JID

Definition at line 350 of file TNStropheClient.j.

- (BOOL) handleFeaturesDisco: (TNStropheStanza aStanza [implementation]

Definition at line 246 of file TNStropheClient.j.

- (CPString) identityCategory [implementation]

Synthesized accessor method.

Definition at line 532 of file TNStropheClient.j.

- (CPString) identityName [implementation]

Synthesized accessor method.

Definition at line 548 of file TNStropheClient.j.

- (CPString) identityType [implementation]

Synthesized accessor method.

Definition at line 564 of file TNStropheClient.j.

- (id) initWithCoder: (CPCoder)  aCoder [implementation]

Reimplemented in TNStropheIMClient.

Definition at line 470 of file TNStropheClient.j.

- (id) initWithService: (CPString)  aService [implementation]

initialize the TNStropheClient

Parameters:
aServicea url of a bosh service (MUST be complete url with http://)

Definition at line 90 of file TNStropheClient.j.

- (id) initWithService: (CPString)  aService
JID: (TNStropheJID aJID
password: (CPString)  aPassword 
[implementation]

initialize the TNStropheClient

Parameters:
aServicea url of a bosh service (MUST be complete url with http://)
aJIDa JID to connect to the XMPP server
aPasswordthe password associated to the JID

Definition at line 113 of file TNStropheClient.j.

- (TNStropheJID) JID [implementation]

Synthesized accessor method.

Definition at line 628 of file TNStropheClient.j.

- (void) notifyVCardUpdate: (TNStropheStanza aStanza [implementation]

notify XMPP user for changes in vCard

Definition at line 400 of file TNStropheClient.j.

- (void) onStropheAuthenticating: (TNStropheConnection aConnection [implementation]

Definition at line 174 of file TNStropheClient.j.

- (void) onStropheAuthFail: (TNStropheConnection aConnection [implementation]

Definition at line 180 of file TNStropheClient.j.

- (void) onStropheConnected: (TNStropheConnection aConnection [implementation]

Reimplemented in TNStropheIMClient.

Definition at line 146 of file TNStropheClient.j.

- (void) onStropheConnectFail: (TNStropheConnection aConnection [implementation]

Reimplemented in TNStropheIMClient.

Definition at line 154 of file TNStropheClient.j.

- (void) onStropheConnecting: (TNStropheConnection aConnection [implementation]

Definition at line 140 of file TNStropheClient.j.

- (void) onStropheDisconnected: (TNStropheConnection aConnection [implementation]

Reimplemented in TNStropheIMClient.

Definition at line 166 of file TNStropheClient.j.

- (void) onStropheDisconnecting: (TNStropheConnection aConnection [implementation]

Definition at line 160 of file TNStropheClient.j.

- (void) onStropheError: (TNStropheConnection aConnection [implementation]

Reimplemented in TNStropheIMClient.

Definition at line 186 of file TNStropheClient.j.

- (CPString) password [implementation]

Synthesized accessor method.

Definition at line 580 of file TNStropheClient.j.

- (void) publishPEPPayload: (TNXMLNode aPayload
toNode: (CPString)  aNode 
[implementation]

publish a PEP payload

Parameters:
aPayload,:the payload to send
aNode,:the node to publish to

Definition at line 271 of file TNStropheClient.j.

- (void) removeFeature: (CPString)  aFeatureNamespace [implementation]

Definition at line 224 of file TNStropheClient.j.

- (void) set_features: (CPArray)  aValue [implementation]

Synthesized accessor method.

Definition at line 508 of file TNStropheClient.j.

- (void) setClientNode: (CPString)  aValue [implementation]

Synthesized accessor method.

Definition at line 524 of file TNStropheClient.j.

- (void) setConnection: (TNStropheConnection aValue [implementation]

Synthesized accessor method.

Definition at line 620 of file TNStropheClient.j.

- (void) setDelegate: (id)  aValue [implementation]

Synthesized accessor method.

Definition at line 604 of file TNStropheClient.j.

- (void) setIdentityCategory: (CPString)  aValue [implementation]

Synthesized accessor method.

Definition at line 540 of file TNStropheClient.j.

- (void) setIdentityName: (CPString)  aValue [implementation]

Synthesized accessor method.

Definition at line 556 of file TNStropheClient.j.

- (void) setIdentityType: (CPString)  aValue [implementation]

Synthesized accessor method.

Definition at line 572 of file TNStropheClient.j.

- (void) setJID: (TNStropheJID aValue [implementation]

Synthesized accessor method.

Definition at line 636 of file TNStropheClient.j.

- (void) setPassword: (CPString)  aValue [implementation]

Synthesized accessor method.

Definition at line 588 of file TNStropheClient.j.

- (void) setPresenceShow: (CPString)  aPresenceShow
status: (CPString)  aStatus 
[implementation]

Definition at line 300 of file TNStropheClient.j.

- (void) setVCard: (TNXMLNode aVCard
object: (CPObject)  anObject
selector: (SEL)  aSelector
userInfo: (id)  someUserInfo 
[implementation]

set the vCard of the connection JID and send the given message of of the given object with the given user info

Parameters:
aVCardTNXMLNode containing the vCard
anObjectthe target object
aSelectorthe selector to send to the target object
someUserInforandom informations

Definition at line 383 of file TNStropheClient.j.

- (TNStropheVCard) vCard [implementation]

Synthesized accessor method.

Definition at line 644 of file TNStropheClient.j.


The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables