Authors
- Generated by builder
-
- Declared in:
- XMPPAccount.h
The XMPPAccount class represents a single XMPP account.
The JID is retrieved from the address book, and the
password from the keychain (OS X) or user defaults
(GNUstep).
Instance Variables
Method summary
+ (void)
setDefaultJID: (
JID*)aJID;
Sets the default JID (stored in address book)
+ (void)
setDefaultJID: (
JID*)aJID
withServer: (
NSString*)aServer;
Sets the default JID along with a server to use for
connection.
- (
XMPPConnection*)
connection;
Returns the connection associated with the account.
- (id)
initWithName: (
NSString*)aName
withJid: (
JID*)aJid
withPassword: (
NSString*)aPassword;
Initialize an Account with a given Name a Jid
and a password
- (
JID*)
jid;
Returns the JID associated with the account.
- (
NSString*)
name;
Returns the name of the current account.
- (void)
reconnect;
Attempt to reconnect after disconnection.
- (
XMPPRoster*)
roster;
Returns the roster associated with the account.
Instance Variables for XMPPAccount Class
@protected XMPPConnection* connection;
Description forthcoming.
@protected JID* myJID;
Description forthcoming.
@protected NSString* name;
Description forthcoming.
@protected XMPPRoster* roster;
Description forthcoming.