StropheCappuccino API 1.0.0
TNStropheRosterBase Class Reference

#import <TNStropheRosterBase.h>

Inheritance diagram for TNStropheRosterBase:

List of all members.

Public Member Functions

(void) - cacheContact: [implementation]
(void) - changeNickname:ofContact: [implementation]
(void) - changeNickname:ofContactWithJID: [implementation]
(void) - clear [implementation]
(TNStropheConnection- connection [implementation]
(CPArray) - contactCache [implementation]
(void) - contacts [implementation]
(TNStropheContact- contactWithBareJID: [implementation]
(TNStropheContact- contactWithFullJID: [implementation]
(TNStropheContact- contactWithJID: [implementation]
(BOOL) - containsBareJID: [implementation]
(BOOL) - containsFullJID: [implementation]
(BOOL) - containsJID: [implementation]
(CPArray) - content [implementation]
(id) - delegate [implementation]
(void) - disconnect [implementation]
(CPArray) - groupCache [implementation]
(id) - initWithConnection: [implementation]
(void) - setDelegate: [implementation]
(void) - uncacheContact: [implementation]

Static Public Member Functions

(id) + rosterWithConnection: [implementation]

Detailed Description

this is an implementation of the functionality shared between real rosters and MUC memberships

Definition at line 2 of file TNStropheRosterBase.h.


Member Function Documentation

- (void) cacheContact: (TNStropheContact aContact [implementation]

add contact to roster cache

Parameters:
aContactthe contact to add

Definition at line 92 of file TNStropheRosterBase.j.

- (void) changeNickname: (CPString)  aName
ofContact: (TNStropheContact aContact 
[implementation]

changes the nickname of the contact with the given JID

Parameters:
aNamethe new nickname
aJIDthe JID of the contact to change the nickname

Reimplemented in TNStropheRoster.

Definition at line 171 of file TNStropheRosterBase.j.

- (void) changeNickname: (CPString)  aName
ofContactWithJID: (TNStropheJID aJID 
[implementation]

changes the nickname of the contact with the given JID

Parameters:
aNamethe new nickname
aJIDthe JID of the contact to change the nickname

Definition at line 180 of file TNStropheRosterBase.j.

- (void) clear [implementation]

Reimplemented in TNStropheRoster.

Definition at line 71 of file TNStropheRosterBase.j.

- (TNStropheConnection) connection [implementation]

Synthesized accessor method.

Definition at line 232 of file TNStropheRosterBase.j.

- (CPArray) contactCache [implementation]

Synthesized accessor method.

Definition at line 192 of file TNStropheRosterBase.j.

- (void) contacts [implementation]

get an array with all cached contacts

Definition at line 84 of file TNStropheRosterBase.j.

- (TNStropheContact) contactWithBareJID: (TNStropheJID aJID [implementation]

return a TNStropheContact object according to the given bare JID

Parameters:
aJIDCPString containing the JID
Returns:
TNStropheContact the contact with the given JID

Definition at line 133 of file TNStropheRosterBase.j.

- (TNStropheContact) contactWithFullJID: (TNStropheJID aJID [implementation]

return a TNStropheContact object according to the given full JID

Parameters:
aJIDCPString containing the JID
Returns:
TNStropheContact the contact with the given JID

Definition at line 121 of file TNStropheRosterBase.j.

- (TNStropheContact) contactWithJID: (TNStropheJID aJID [implementation]

performs contactWithFullJID and contactWithBareJID

Parameters:
aJIDCPString containing the JID
Returns:
TNStropheContact the contact with the given JID

Definition at line 112 of file TNStropheRosterBase.j.

- (BOOL) containsBareJID: (TNStropheJID aJID [implementation]

check if roster contains a contact with a given bare JID

Parameters:
aJIDthe JID to search
Returns:
YES is JID is in roster, NO otherwise

Definition at line 162 of file TNStropheRosterBase.j.

- (BOOL) containsFullJID: (TNStropheJID aJID [implementation]

check if roster contains a contact with a given full JID

Parameters:
aJIDthe JID to search
Returns:
YES is JID is in roster, NO otherwise

Definition at line 153 of file TNStropheRosterBase.j.

- (BOOL) containsJID: (TNStropheJID aJID [implementation]

perform containsFullJID and containsBareJID

Parameters:
aJIDthe JID to search

Definition at line 144 of file TNStropheRosterBase.j.

- (CPArray) content [implementation]

Synthesized accessor method.

Definition at line 208 of file TNStropheRosterBase.j.

- (id) delegate [implementation]

Synthesized accessor method.

Definition at line 216 of file TNStropheRosterBase.j.

- (void) disconnect [implementation]

sent disconnect message to the TNStropheConnection of the roster

Definition at line 66 of file TNStropheRosterBase.j.

- (CPArray) groupCache [implementation]

Synthesized accessor method.

Definition at line 200 of file TNStropheRosterBase.j.

- (id) initWithConnection: (TNStropheConnection aConnection [implementation]

initialize a roster with a valid TNStropheConnection

Returns:
initialized instance of TNStropheRosterBase

Reimplemented in TNStropheRoster.

Definition at line 51 of file TNStropheRosterBase.j.

+ (id) rosterWithConnection: (TNStropheConnection aConnection [implementation]

Reimplemented in TNStropheRoster.

Definition at line 39 of file TNStropheRosterBase.j.

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

Synthesized accessor method.

Definition at line 224 of file TNStropheRosterBase.j.

- (void) uncacheContact: (TNStropheContact aContact [implementation]

remove a TNStropheContact from the roster cache

Parameters:
aContactthe contact to remove

Definition at line 101 of file TNStropheRosterBase.j.


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