From 93adc6aec9ba4671884d9692308b239d3064e553 Mon Sep 17 00:00:00 2001 From: Manjeet Dahiya Date: Sat, 21 Aug 2010 19:15:30 +0000 Subject: add doc html --- doc/html/classQXmppStunMessage.html | 225 ++++++++++++++++++++++++++++++++++++ 1 file changed, 225 insertions(+) create mode 100644 doc/html/classQXmppStunMessage.html (limited to 'doc/html/classQXmppStunMessage.html') diff --git a/doc/html/classQXmppStunMessage.html b/doc/html/classQXmppStunMessage.html new file mode 100644 index 00000000..18ec0c4a --- /dev/null +++ b/doc/html/classQXmppStunMessage.html @@ -0,0 +1,225 @@ + + + + + +QXmpp: QXmppStunMessage Class Reference + + + + + + + + + +
+

QXmppStunMessage Class Reference

+

The QXmppStunMessage class represents a STUN message. +More...

+ +

#include <QXmppStun.h>

+ +

List of all members.

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + +

Public Member Functions

QXmppStunMessage ()
 Constructs a new QXmppStunMessage.
+QByteArray id () const
+void setId (const QByteArray &id)
+quint16 type () const
+void setType (quint16 type)
QByteArray encode (const QString &password=QString()) const
bool decode (const QByteArray &buffer, const QString &password=QString(), QStringList *errors=0)
+QString toString () const

Static Public Member Functions

static quint16 peekType (const QByteArray &buffer)

Public Attributes

+int errorCode
+QString errorPhrase
+quint32 priority
+QByteArray iceControlling
+QByteArray iceControlled
+QHostAddress mappedHost
+quint16 mappedPort
+QHostAddress otherHost
+quint16 otherPort
+QHostAddress xorMappedHost
+quint16 xorMappedPort
+QString software
+QString username
+bool useCandidate
+

Detailed Description

+

The QXmppStunMessage class represents a STUN message.

+

Member Function Documentation

+ +
+
+ + + + + + + + + + + + + + + + + + + + + + + + +
bool QXmppStunMessage::decode (const QByteArray &  buffer,
const QString &  password = QString(),
QStringList *  errors = 0 
)
+
+
+

Decodes a QXmppStunMessage and checks its integrity using the given password.

+
Parameters:
+ + + +
buffer 
password 
+
+
+ +

ICE-CONTROLLING

+

ICE-CONTROLLED

+

+ +
+
+ +
+
+ + + + + + + + + +
QByteArray QXmppStunMessage::encode (const QString &  password = QString() )  const
+
+
+

Encodes the current QXmppStunMessage, optionally calculating the message integrity attribute using the given password.

+
Parameters:
+ + +
password 
+
+
+ +
+
+ +
+
+ + + + + + + + + +
quint16 QXmppStunMessage::peekType (const QByteArray &  buffer )  [static]
+
+
+

If the given packet looks like a STUN message, returns the message type, otherwise returns 0.

+
Parameters:
+ + +
buffer 
+
+
+ +
+
+
The documentation for this class was generated from the following files: +
+ +
+ All Classes Functions Enumerations Enumerator
+ + +
+ +
+ +
Generated on Sun Aug 22 00:44:24 2010 for QXmpp by  + +doxygen 1.6.1
+ + -- cgit v1.2.3