QXmppIbbDataIq Class

Header: #include <QXmppIbbDataIq>
Inherits: QXmppIq

Public Functions

QByteArray payload() const
quint16 sequence() const
void setPayload(const QByteArray &data)
void setSequence(quint16 seq)
void setSid(const QString &sid)
QString sid() const

Detailed Description

The QXmppIbbDataIq represents an IBB data request as defined by XEP-0047: In-Band Bytestreams.

Member Function Documentation

QByteArray QXmppIbbDataIq::payload() const

Returns the current data chunk

See also setPayload().

quint16 QXmppIbbDataIq::sequence() const

Returns the data chunk sequence counter.

The value starts at 0 (zero) for each sender and MUST be incremented for each packet sent by that entity. The counter loops at maximum, so that after value 65535 the sequence MUST start again at 0.

See also setSequence().

void QXmppIbbDataIq::setPayload(const QByteArray &data)

Sets the current data chunk data.

See also payload().

void QXmppIbbDataIq::setSequence(quint16 seq)

Sets the data chunk sequence counter seq.

The value starts at 0 (zero) for each sender and MUST be incremented for each packet sent by that entity. The counter loops at maximum, so that after value 65535 the sequence MUST start again at 0.

See also sequence().

void QXmppIbbDataIq::setSid(const QString &sid)

Sets the unique session ID sid for this IBB session (which MUST match the NMTOKEN datatype).

See also sid().

QString QXmppIbbDataIq::sid() const

Returns the unique session ID for this IBB session (which MUST match the NMTOKEN datatype).

See also setSid().