List of all members.
Detailed Description
The QXmppServer class represents an XMPP server.
It provides support for both client-to-server and server-to-server communications, SSL encryption and logging facilities.
QXmppServer comes with a number of modules for service discovery, XMPP ping, statistics and file transfer proxy support. You can write your own extensions for QXmppServer by subclassing QXmppServerExtension.
Constructor & Destructor Documentation
QXmppServer::QXmppServer |
( |
QObject * |
parent = 0 |
) |
|
Constructs a new XMPP server instance.
- Parameters:
-
QXmppServer::~QXmppServer |
( |
|
) |
|
Destroys an XMPP server instance.
Member Function Documentation
void QXmppServer::addCaCertificates |
( |
const QString & |
path |
) |
|
Sets the path for additional SSL CA certificates.
- Parameters:
-
Registers a new extension with the server.
- Parameters:
-
Add a new incoming client stream.
- Parameters:
-
QList< QXmppPresence > QXmppServer::availablePresences |
( |
const QString & |
bareJid |
) |
|
Returns the list of available resources for the given local JID.
- Parameters:
-
void QXmppServer::close |
( |
|
) |
|
QString QXmppServer::domain |
( |
|
) |
const |
Returns the server's domain.
Returns the list of loaded extensions.
bool QXmppServer::listenForClients |
( |
const QHostAddress & |
address = QHostAddress::Any , |
|
|
quint16 |
port = 5222 | |
|
) |
| | |
Listen for incoming XMPP client connections.
- Parameters:
-
bool QXmppServer::listenForServers |
( |
const QHostAddress & |
address = QHostAddress::Any , |
|
|
quint16 |
port = 5269 | |
|
) |
| | |
Listen for incoming XMPP server connections.
- Parameters:
-
Returns the password checker used to verify client credentials.
bool QXmppServer::sendElement |
( |
const QDomElement & |
element |
) |
|
Route an XMPP stanza.
- Parameters:
-
bool QXmppServer::sendPacket |
( |
const QXmppStanza & |
packet |
) |
|
Route an XMPP packet.
- Parameters:
-
void QXmppServer::setDomain |
( |
const QString & |
domain |
) |
|
Sets the server's domain.
- Parameters:
-
void QXmppServer::setLocalCertificate |
( |
const QString & |
path |
) |
|
Sets the path for the local SSL certificate.
- Parameters:
-
Sets the QXmppLogger associated with the server.
- Parameters:
-
Sets the password checker used to verify client credentials.
- Parameters:
-
void QXmppServer::setPrivateKey |
( |
const QString & |
path |
) |
|
Sets the path for the local SSL private key.
- Parameters:
-
The documentation for this class was generated from the following files: