libQuotient
A Qt library for building matrix clients
Quotient::ConnectionData Class Reference

#include <connectiondata.h>

Public Member Functions

 ConnectionData (QUrl baseUrl)
 
virtual ~ConnectionData ()
 
void submit (BaseJob *job)
 
void limitRate (std::chrono::milliseconds nextCallAfter)
 
QByteArray accessToken () const
 
QUrl baseUrl () const
 
const QString & deviceId () const
 
const QString & userId () const
 
HomeserverData homeserverData () const
 
Quotient::NetworkAccessManagernam () const
 
void setBaseUrl (QUrl baseUrl)
 
void setToken (QByteArray accessToken)
 
void setDeviceId (const QString &deviceId)
 
void setUserId (const QString &userId)
 
void setIdentity (const QString &userId, const QString &deviceId, QByteArray accessToken={})
 
void setAccessToken (QByteArray accessToken)
 
void setSupportedSpecVersions (QStringList versions)
 
QString lastEvent () const
 
void setLastEvent (QString identifier)
 
QString generateTxnId () const
 

Detailed Description

Definition at line 18 of file connectiondata.h.

Constructor & Destructor Documentation

◆ ConnectionData()

Quotient::ConnectionData::ConnectionData ( QUrl  baseUrl)
explicit

◆ ~ConnectionData()

virtual Quotient::ConnectionData::~ConnectionData ( )
virtual

Member Function Documentation

◆ accessToken()

QByteArray Quotient::ConnectionData::accessToken ( ) const

◆ baseUrl()

QUrl Quotient::ConnectionData::baseUrl ( ) const

◆ deviceId()

const QString& Quotient::ConnectionData::deviceId ( ) const

◆ generateTxnId()

QString Quotient::ConnectionData::generateTxnId ( ) const

◆ homeserverData()

HomeserverData Quotient::ConnectionData::homeserverData ( ) const

◆ lastEvent()

QString Quotient::ConnectionData::lastEvent ( ) const

◆ limitRate()

void Quotient::ConnectionData::limitRate ( std::chrono::milliseconds  nextCallAfter)

◆ nam()

Quotient::NetworkAccessManager* Quotient::ConnectionData::nam ( ) const

◆ setAccessToken()

void Quotient::ConnectionData::setAccessToken ( QByteArray  accessToken)

◆ setBaseUrl()

void Quotient::ConnectionData::setBaseUrl ( QUrl  baseUrl)

◆ setDeviceId()

void Quotient::ConnectionData::setDeviceId ( const QString &  deviceId)

◆ setIdentity()

void Quotient::ConnectionData::setIdentity ( const QString &  userId,
const QString &  deviceId,
QByteArray  accessToken = {} 
)

◆ setLastEvent()

void Quotient::ConnectionData::setLastEvent ( QString  identifier)

◆ setSupportedSpecVersions()

void Quotient::ConnectionData::setSupportedSpecVersions ( QStringList  versions)

◆ setToken()

void Quotient::ConnectionData::setToken ( QByteArray  accessToken)

◆ setUserId()

void Quotient::ConnectionData::setUserId ( const QString &  userId)

◆ submit()

void Quotient::ConnectionData::submit ( BaseJob job)

◆ userId()

const QString& Quotient::ConnectionData::userId ( ) const

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