QXmpp  Version: 1.4.0
Public Types | Public Member Functions | List of all members
QXmppDialback Class Reference

The QXmppDialback class represents a stanza used for the Server Dialback protocol as specified by XEP-0220: Server Dialback. More...

#include <QXmppDialback.h>

Inheritance diagram for QXmppDialback:
Inheritance graph
[legend]
Collaboration diagram for QXmppDialback:
Collaboration graph
[legend]

Public Types

enum  Command { Result , Verify }
 This enum is used to describe a dialback command. More...
 

Public Member Functions

 QXmppDialback ()
 Constructs a QXmppDialback.
 
Command command () const
 Returns the dialback command.
 
void setCommand (Command command)
 
QString key () const
 Returns the dialback key.
 
void setKey (const QString &key)
 
QString type () const
 Returns the dialback type.
 
void setType (const QString &type)
 
- Public Member Functions inherited from QXmppStanza
 QXmppStanza (const QString &from=QString(), const QString &to=QString())
 
 QXmppStanza (const QXmppStanza &other)
 Constructs a copy of other.
 
virtual ~QXmppStanza ()
 Destroys a QXmppStanza.
 
QXmppStanzaoperator= (const QXmppStanza &other)
 Assigns other to this stanza.
 
QString to () const
 
void setTo (const QString &)
 
QString from () const
 Returns the stanza's sender JID.
 
void setFrom (const QString &)
 
QString id () const
 Returns the stanza's identifier.
 
void setId (const QString &)
 
QString lang () const
 Returns the stanza's language.
 
void setLang (const QString &)
 
QXmppStanza::Error error () const
 Returns the stanza's error.
 
void setError (const QXmppStanza::Error &error)
 
QXmppElementList extensions () const
 
void setExtensions (const QXmppElementList &elements)
 
QList< QXmppExtendedAddressextendedAddresses () const
 
void setExtendedAddresses (const QList< QXmppExtendedAddress > &extendedAddresses)
 
virtual bool isXmppStanza () const
 

Detailed Description

The QXmppDialback class represents a stanza used for the Server Dialback protocol as specified by XEP-0220: Server Dialback.

Member Enumeration Documentation

◆ Command

This enum is used to describe a dialback command.

Enumerator
Result 

A dialback command between the originating server and the receiving server.

Verify 

A dialback command between the receiving server and the authoritative server.

Member Function Documentation

◆ setCommand()

void QXmppDialback::setCommand ( QXmppDialback::Command  command)

Sets the dialback command.

Parameters
command

◆ setKey()

void QXmppDialback::setKey ( const QString &  key)

Sets the dialback key.

Parameters
key

◆ setType()

void QXmppDialback::setType ( const QString &  type)

Sets the dialback type.

Parameters
type

The documentation for this class was generated from the following files: