|
|
This class holds informations about a server
enum ServerFlag { NoAutoRestart = 0x0001, KeepRoster = 0x0002, TlsRequired = 0x0004, OldStyleAuth = 0x0008, AllowPlainAuth = 0x0020, AllowUnsafeSetup = 0x0040, } | ServerFlag |
Server flags
inline XMPPServerInfo (const char* name, const char* address, int port,
const char* password, const char* identity, const char* fullidentity,
int flags)
| XMPPServerInfo |
Constructor. Construct a full server info object
Parameters:
name | Server domain name |
address | IP address |
port | IP port |
password | Component only: Password used for authentication |
identity | Component only: The stream identity used when connecting |
fullidentity | Component only: The user identity |
flags | Server flags |
inline XMPPServerInfo (const char* name, int port)
| XMPPServerInfo |
Constructor. Construct a partial server info object
Parameters:
name | Server domain name |
port | IP port |
inline const String& address ()
| address |
[const]
Get the server's address
Returns: The server's address
inline const String& name ()
| name |
[const]
Get the server's domain name
Returns: The server's domain name
inline const int port ()
| port |
[const]
Get the server's port used to connect to
Returns: The server's port used to connect to
inline const String& password ()
| password |
[const]
Get the server's port used to connect to
Returns: The server's port used to connect to
inline const String& identity ()
| identity |
[const]
Get the server's identity
Returns: The server's identity
inline const String& fullIdentity ()
| fullIdentity |
[const]
Get the server's full identity
Returns: The server's full identity
inline bool flag (int mask)
| flag |
[const]
Check if a given flag (or mask) is set
Returns: True if the flag is set
static TokenDict s_flagName[] | s_flagName[] |
Generated by: paulc on bussard on Wed Oct 21 01:57:30 2009, using kdoc 2.0a54. |