The QXmppStream class is the base class for all XMPP streams.
More...
#include <QXmppStream.h>
List of all members.
Detailed Description
The QXmppStream class is the base class for all XMPP streams.
Constructor & Destructor Documentation
QXmppStream::QXmppStream |
( |
QObject * |
parent | ) |
|
Constructs a base XMPP stream.
- Parameters:
-
Member Function Documentation
void QXmppStream::disconnectFromHost |
( |
| ) |
|
|
virtualslot |
Disconnects from the remote host.
virtual void QXmppStream::handleStanza |
( |
const QDomElement & |
element | ) |
|
|
protectedpure virtual |
Handles an incoming XMPP stanza.
- Parameters:
-
void QXmppStream::handleStart |
( |
| ) |
|
|
protectedvirtual |
Handles a stream start event, which occurs when the underlying transport becomes ready (socket connected, encryption started).
If you redefine handleStart(), make sure to call the base class's method.
virtual void QXmppStream::handleStream |
( |
const QDomElement & |
element | ) |
|
|
protectedpure virtual |
Handles an incoming XMPP stream start.
- Parameters:
-
bool QXmppStream::isConnected |
( |
| ) |
const |
|
virtual |
bool QXmppStream::sendData |
( |
const QByteArray & |
data | ) |
|
|
virtualslot |
Sends raw data to the peer.
- Parameters:
-
bool QXmppStream::sendPacket |
( |
const QXmppStanza & |
packet | ) |
|
Sends an XMPP packet to the peer.
- Parameters:
-
void QXmppStream::setSocket |
( |
QSslSocket * |
socket | ) |
|
|
protected |
Sets the QSslSocket used for this stream.
QSslSocket * QXmppStream::socket |
( |
| ) |
const |
|
protected |
The documentation for this class was generated from the following files: