class XMPPServerInfo

Server info class. More...

Full nameTelEngine::XMPPServerInfo
Definition#include <libs/yjingle/xmpputils.h>
InheritsTelEngine::RefObject [public ]
List of all Methods
Annotated List
Files
Globals
Hierarchy
Index

Public Types

Public Methods

Public Members


Detailed Description

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:
nameServer domain name
addressIP address
portIP port
passwordComponent only: Password used for authentication
identityComponent only: The stream identity used when connecting
fullidentityComponent only: The user identity
flagsServer flags

inline  XMPPServerInfo (const char* name, int port)

XMPPServerInfo

Constructor. Construct a partial server info object

Parameters:
nameServer domain name
portIP 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.