QXmpp  Version:0.4.91
 All Classes Functions Enumerations Enumerator Properties Groups
Signals | Public Member Functions
QXmppOutgoingClient Class Reference

The QXmppOutgoingClient class represents an outgoing XMPP stream to an XMPP server. More...

#include <QXmppOutgoingClient.h>

Inheritance diagram for QXmppOutgoingClient:
QXmppStream QXmppLoggable

List of all members.

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.
- Signals inherited from QXmppStream
void connected ()
 This signal is emitted when the stream is connected.
void disconnected ()
 This signal is emitted when the stream is disconnected.
- Signals inherited from QXmppLoggable
void logMessage (QXmppLogger::MessageType type, const QString &msg)
 This signal is emitted to send logging messages.

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.
QXmppConfigurationconfiguration ()
 Returns a reference to the stream's configuration.
- Public Member Functions inherited from QXmppStream
 QXmppStream (QObject *parent)
 ~QXmppStream ()
 Destroys a base XMPP stream.
bool sendPacket (const QXmppStanza &)
- Public Member Functions inherited from QXmppLoggable
 QXmppLoggable (QObject *parent=0)

Additional Inherited Members

- Public Slots inherited from QXmppStream
virtual void disconnectFromHost ()
virtual bool sendData (const QByteArray &)
- Protected Member Functions inherited from QXmppStream
void setSocket (QSslSocket *socket)
virtual void handleStart ()
virtual void handleStanza (const QDomElement &element)=0
virtual void handleStream (const QDomElement &element)=0
- Protected Member Functions inherited from QXmppLoggable
void debug (const QString &message)
void info (const QString &message)
void warning (const QString &message)
void logReceived (const QString &message)
void logSent (const QString &message)

Detailed Description

The QXmppOutgoingClient class represents an outgoing XMPP stream to an XMPP server.


Constructor & Destructor Documentation

QXmppOutgoingClient::QXmppOutgoingClient ( QObject *  parent)

Constructs an outgoing client stream.

Parameters:
parent

Member Function Documentation

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.


The documentation for this class was generated from the following files: