libkazv
Kazv::SessionPrivate Struct Reference

#include <session-p.hpp>

Public Member Functions

 SessionPrivate ()
 
 SessionPrivate (OutboundSessionTag, OlmAccount *acc, std::string theirIdentityKey, std::string theirOneTimeKey)
 
 SessionPrivate (OutboundSessionTag, RandomTag, RandomData data, OlmAccount *acc, std::string theirIdentityKey, std::string theirOneTimeKey)
 
 SessionPrivate (InboundSessionTag, OlmAccount *acc, std::string theirIdentityKey, std::string message)
 
 SessionPrivate (const SessionPrivate &that)
 
 ~SessionPrivate ()=default
 
std::string pickle () const
 
bool unpickle (std::string data)
 
std::size_t checkError (std::size_t code) const
 
std::string error () const
 

Public Attributes

ByteArray sessionData
 
OlmSession * session {0}
 
bool valid {false}
 

Constructor & Destructor Documentation

◆ SessionPrivate() [1/5]

Kazv::SessionPrivate::SessionPrivate ( )

◆ SessionPrivate() [2/5]

Kazv::SessionPrivate::SessionPrivate ( OutboundSessionTag  ,
OlmAccount *  acc,
std::string  theirIdentityKey,
std::string  theirOneTimeKey 
)

◆ SessionPrivate() [3/5]

Kazv::SessionPrivate::SessionPrivate ( OutboundSessionTag  ,
RandomTag  ,
RandomData  data,
OlmAccount *  acc,
std::string  theirIdentityKey,
std::string  theirOneTimeKey 
)

◆ SessionPrivate() [4/5]

Kazv::SessionPrivate::SessionPrivate ( InboundSessionTag  ,
OlmAccount *  acc,
std::string  theirIdentityKey,
std::string  message 
)

◆ SessionPrivate() [5/5]

Kazv::SessionPrivate::SessionPrivate ( const SessionPrivate that)

◆ ~SessionPrivate()

Kazv::SessionPrivate::~SessionPrivate ( )
default

Member Function Documentation

◆ checkError()

std::size_t Kazv::SessionPrivate::checkError ( std::size_t  code) const

◆ error()

std::string Kazv::SessionPrivate::error ( ) const
inline

◆ pickle()

std::string Kazv::SessionPrivate::pickle ( ) const

◆ unpickle()

bool Kazv::SessionPrivate::unpickle ( std::string  data)

Member Data Documentation

◆ session

OlmSession* Kazv::SessionPrivate::session {0}

◆ sessionData

ByteArray Kazv::SessionPrivate::sessionData

◆ valid

bool Kazv::SessionPrivate::valid {false}

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