Home · All Namespaces · All Classes · Grouped Classes · Modules · Functions |
The QWspPduDecoder class provides facilities for parsing WSP PDU's. More...
#include <QWspPduDecoder>
Inherits QObject.
The QWspPduDecoder class provides facilities for parsing WSP PDU's.
The QWspPduDecoder class provides facilities for parsing WSP PDU's.
This enumeration defines the status of the input dats stream.
Constant | Value | Description |
---|---|---|
QWspPduDecoder::OK | 0 | The stream is OK. |
QWspPduDecoder::Unhandled | 1 | The stream contains data that cannot be handled. |
QWspPduDecoder::Eof | 2 | End of file was reached before the real end of the message. |
QWspPduDecoder::Fatal | 3 | The stream contains data that caused a fatal parse error. |
Construct a WSP PDU decoder to decode the data from d.
Destroy this WSP PDU decoder.
Decode a content type value from the input data stream.
Decode the content type and headers from the input data stream. The hdrLen parameter indicates the number of bytes within the block that holds the content type and headers. The part parameter indicates the object to place the content type and header information into.
Decode an encoded string from the input data stream.
Decode a field declaration consisting of a name and a value from the input data stream.
Decode either a short integer or a long integer, depending upon whether the first byte has the high bit set (short) or unset (long).
See also decodeShortInteger() and decodeLongInteger().
Decode a length value from the input data stream. Leading byte values between 0 and 30 indicate an explicit length. A leading byte value of 31 indicates that a variable-length integer follows.
See also decodeUIntVar().
Decode a long integer value from the input data stream. Long integers start with a byte indicating the length of the integer encoding, followed by that many bytes from most significant onwards.
Decode a multipart content block from the input data stream.
Decode the next octet from the input data stream.
Decode a parameter value from the input data stream.
Decode a single WSP part from an input data stream.
Decode a WSP push datagram from an input data stream.
Decode a short integer value from the input data stream. Short integers are between 0 and 127, and have the high bit set to indicate "short".
Decode a text string from the input data stream.
Decode a token text value from the input data stream.
Decode an unsigned 8-bit integer from the input data stream.
Decode an unsigned 16-bit integer from the input data stream.
Decode an unsigned 32-bit integer from the input data stream.
Decode an unsigned 32-bit integer from the input data stream that is encoded with the variable-length WSP encoding.
Decode a version indicator from the input data stream.
Get the device that this WSP PDU decoder is reading from.
Peek at the next octet in the input data stream.
Signal that is emitted when the WSP PDU decoder wants to change the header code page. Slots that are connected to this signal should call setHeaderCodec() to select the correct codec.
Set the header codec, that converts byte values into string names, to c.
Set the status of the input stream to s.
See also status().
Get the current status of the input stream.
See also setStatus().
Copyright © 2009 Trolltech | Trademarks | Qt Extended 4.4.3 |