StropheCappuccino API 1.0.0
TNStrophePrivateStorage Class Reference

#import <TNStrophePrivateStorage.h>

List of all members.

Public Member Functions

(TNStropheConnection- connection [implementation]
(TNStropheConnection- initWithConnection:namespace: [implementation]
(CPString) - namespace [implementation]
(id) - objectForKey:target:selector: [implementation]
(void) - setConnection: [implementation]
(void) - setNamespace: [implementation]
(void) - setObject:forKey: [implementation]

Static Public Member Functions

(TNStropheConnection+ strophePrivateStorageWithConnection:namespace: [implementation]

Detailed Description

This class allows to store random objects in XMPP private storage

Definition at line 2 of file TNStrophePrivateStorage.h.


Member Function Documentation

- (TNStropheConnection) connection [implementation]

Synthesized accessor method.

Definition at line 174 of file TNStrophePrivateStorage.j.

- (TNStropheConnection) initWithConnection: (TNStropheConnection aConnection
namespace: (CPString)  aNamespace 
[implementation]

initialize TNStrophePrivateStorage with given connection and namespace

Parameters:
aConnectionthe TNStropheConnection
aNamespacethe namespace of the storage
Returns:
a new TNStrophePrivateStorage

Definition at line 55 of file TNStrophePrivateStorage.j.

- (CPString) namespace [implementation]

Synthesized accessor method.

Definition at line 158 of file TNStrophePrivateStorage.j.

- (id) objectForKey: (CPString)  aKey
target: (id)  aTarget
selector: (SEL)  aSelector 
[implementation]

get the object associated to the given key. This message will send to target

Parameters:
aKeythe key
aTargetthe target that will receive the message containing the object
aSelectorthe message that will be send to the target

Definition at line 108 of file TNStrophePrivateStorage.j.

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

Synthesized accessor method.

Definition at line 182 of file TNStrophePrivateStorage.j.

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

Synthesized accessor method.

Definition at line 166 of file TNStrophePrivateStorage.j.

- (void) setObject: (id)  anObject
forKey: (CPString)  aKey 
[implementation]

set the given object for the given key

Parameters:
anObjectthe obect to store
aKeythe associated key

Definition at line 74 of file TNStrophePrivateStorage.j.

+ (TNStropheConnection) strophePrivateStorageWithConnection: (TNStropheConnection aConnection
namespace: (CPString)  aNamespace 
[implementation]

return an initialized TNStrophePrivateStorage with given connection and namespace

Parameters:
aConnectionthe TNStropheConnection
aNamespacethe namespace of the storage
Returns:
a new TNStrophePrivateStorage

Definition at line 45 of file TNStrophePrivateStorage.j.


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