QXmpp Version: 1.5.6
Loading...
Searching...
No Matches
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.
 
 QXmppStanza (QXmppStanza &&)
 Move constructor.
 
virtual ~QXmppStanza ()
 Destroys a QXmppStanza.
 
QXmppStanzaoperator= (const QXmppStanza &other)
 Assigns other to this stanza.
 
QXmppStanzaoperator= (QXmppStanza &&)
 Move-assignment operator.
 
QString to () const
 
void setTo (const QString &)
 
QString from () const
 
void setFrom (const QString &)
 
QString id () const
 
void setId (const QString &)
 
QString lang () const
 
void setLang (const QString &)
 
QXmppStanza::Error error () const
 
std::optional< ErrorerrorOptional () const
 
void setError (const QXmppStanza::Error &error)
 
void setError (const std::optional< Error > &error)
 
QXmppElementList extensions () const
 
void setExtensions (const QXmppElementList &elements)
 
QList< QXmppExtendedAddressextendedAddresses () const
 
void setExtendedAddresses (const QList< QXmppExtendedAddress > &extendedAddresses)
 
std::optional< QXmppE2eeMetadatae2eeMetadata () const
 
void setE2eeMetadata (const std::optional< QXmppE2eeMetadata > &e2eeMetadata)
 
- Public Member Functions inherited from QXmppNonza
virtual bool isXmppStanza () const
 
virtual void parse (const QDomElement &)=0
 
virtual void toXml (QXmlStreamWriter *writer) const =0
 

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: