QXmpp Version:0.3.91
|
The QXmppOutgoingClient class represents an outgoing XMPP stream to an XMPP server. More...
#include <QXmppOutgoingClient.h>
Signals | |
void | error (QXmppClient::Error) |
This signal is emitted when an error is encountered. | |
void | elementReceived (const QDomElement &element, bool &handled) |
This signal is emitted when an element is received. | |
void | presenceReceived (const QXmppPresence &) |
This signal is emitted when a presence is received. | |
void | messageReceived (const QXmppMessage &) |
This signal is emitted when a message is received. | |
void | iqReceived (const QXmppIq &) |
This signal is emitted when an IQ is received. | |
Public Member Functions | |
QXmppOutgoingClient (QObject *parent) | |
~QXmppOutgoingClient () | |
Destroys an outgoing client stream. | |
void | connectToHost () |
Attempts to connect to the XMPP server. | |
bool | isConnected () const |
QSslSocket * | socket () const |
QXmppStanza::Error::Condition | xmppStreamError () |
Returns the type of the last XMPP stream error that occured. | |
QXmppConfiguration & | configuration () |
Returns a reference to the stream's configuration. |
The QXmppOutgoingClient class represents an outgoing XMPP stream to an XMPP server.
QXmppOutgoingClient::QXmppOutgoingClient | ( | QObject * | parent | ) |
Constructs an outgoing client stream.
parent |
bool QXmppOutgoingClient::isConnected | ( | ) | const [virtual] |
Returns true if the socket is connected and a session has been started.
Reimplemented from QXmppStream.
QSslSocket* QXmppOutgoingClient::socket | ( | ) | const [inline] |
Returns the QSslSocket used for this stream.
Reimplemented from QXmppStream.