StropheCappuccino API 1.0.0
TNStropheServerAdministration Class Reference

#import <TNStropheServerAdministration.h>

List of all members.

Public Member Functions

(void) - connectedUsers [implementation]
(TNStropheConnection- connection [implementation]
(id) - delegate [implementation]
(id) - initWithConnection:server: [implementation]
(void) - registeredUsers [implementation]
(void) - registerUser:password:name:surname:email: [implementation]
(void) - sendAction:selector: [implementation]
(void) - sendAnnouncement:subject: [implementation]
(TNStropheJID- server [implementation]
(void) - setConnection: [implementation]
(void) - setDelegate: [implementation]
(void) - setServer: [implementation]
(void) - setUsers:enabled: [implementation]
(void) - unregisterUsers: [implementation]

Detailed Description

This class allows to manage XMPP server using XMPP

Definition at line 2 of file TNStropheServerAdministration.h.


Member Function Documentation

- (void) connectedUsers [implementation]

get all the connected users NOT IMPLEMENTED IN EJABBERD

Definition at line 158 of file TNStropheServerAdministration.j.

- (TNStropheConnection) connection [implementation]

Synthesized accessor method.

Definition at line 392 of file TNStropheServerAdministration.j.

- (id) delegate [implementation]

Synthesized accessor method.

Definition at line 424 of file TNStropheServerAdministration.j.

- (id) initWithConnection: (TNStropheConnection aConnection
server: (TNStropheJID aServer 
[implementation]

initialize a new TNStropheServerAdminstration

Parameters:
aConnectiona TNStropheConnection
aServerthe target XMPP server

Definition at line 46 of file TNStropheServerAdministration.j.

- (void) registeredUsers [implementation]

get all the registred users NOT IMPLEMENTED IN EJABBERD

Definition at line 140 of file TNStropheServerAdministration.j.

- (void) registerUser: (TNStropheJID aJID
password: (CPString)  aPassword
name: (CPString)  aName
surname: (CPString)  aSurname
email: (CPString)  anEmail 
[implementation]

add a user to the server

Parameters:
aJIDthe JID of the new user
aPasswordthe password
aNamethe given name
aSurnamethe surname
anEmailthe email

Definition at line 180 of file TNStropheServerAdministration.j.

- (void) sendAction: (CPString)  anAction
selector: (SEL)  aSelector 
[implementation]

factor sending basic commands

Parameters:
anActionthe action to send
aSelectorthe selector to trigger

Definition at line 65 of file TNStropheServerAdministration.j.

- (void) sendAnnouncement: (CPString)  anAnnouncement
subject: (CPString)  aSubject 
[implementation]

send a message to all connected users

Parameters:
anAnnouncementthe body of the message
aSubjectthe subject of the message

Definition at line 89 of file TNStropheServerAdministration.j.

- (TNStropheJID) server [implementation]

Synthesized accessor method.

Definition at line 408 of file TNStropheServerAdministration.j.

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

Synthesized accessor method.

Definition at line 400 of file TNStropheServerAdministration.j.

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

Synthesized accessor method.

Definition at line 432 of file TNStropheServerAdministration.j.

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

Synthesized accessor method.

Definition at line 416 of file TNStropheServerAdministration.j.

- (void) setUsers: (CPArray)  someJIDs
enabled: (BOOL)  shouldEnable 
[implementation]

set if user's account should be enabled or disabled

Parameters:
someJIDsarray of target TNStropheJID
shouldEnableenable or disable the accounts

Definition at line 298 of file TNStropheServerAdministration.j.

- (void) unregisterUsers: (CPArray)  someJIDs [implementation]

remove a user from the server

Parameters:
someJIDsarray of TNStropheJID to remove

Definition at line 252 of file TNStropheServerAdministration.j.


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