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 |
( |
|
) |
[virtual] |
Disconnects from the remote host.
virtual void QXmppStream::handleStanza |
( |
const QDomElement & |
element |
) |
[protected, pure virtual] |
Handles an incoming XMPP stanza.
- Parameters:
-
void QXmppStream::handleStart |
( |
|
) |
[protected, virtual] |
Handles a stream start event, which occurs when the underlying transport becomes ready (socket connected, encryption started).
virtual void QXmppStream::handleStream |
( |
const QDomElement & |
element |
) |
[protected, pure virtual] |
Handles an incoming XMPP stream start.
- Parameters:
-
bool QXmppStream::isConnected |
( |
|
) |
const [virtual] |
bool QXmppStream::sendData |
( |
const QByteArray & |
data |
) |
[virtual] |
Sends raw data to the peer.
- Parameters:
-
bool QXmppStream::sendElement |
( |
const QDomElement & |
element |
) |
|
Sends an XML element to the peer.
- Parameters:
-
bool QXmppStream::sendPacket |
( |
const QXmppPacket & |
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 |
( |
|
) |
[protected] |
Returns the QSslSocket used for this stream.
The documentation for this class was generated from the following files: