Ring Daemon 16.0.0
Loading...
Searching...
No Matches
jami::ArchiveAccountManager::AddDeviceContext Struct Reference
Inheritance diagram for jami::ArchiveAccountManager::AddDeviceContext:
Inheritance graph
Collaboration diagram for jami::ArchiveAccountManager::AddDeviceContext:
Collaboration graph

Public Member Functions

 AddDeviceContext (std::shared_ptr< dhtnet::ChannelSocket > c)
 
AuthMsg createCanceledMsg () const
 
- Public Member Functions inherited from jami::ArchiveAccountManager::DeviceContextBase
 DeviceContextBase (uint64_t operationId, AuthDecodingState initialState)
 
constexpr std::string_view formattedAuthState () const
 
DeviceAuthInfo::Error getErrorState () const
 
bool handleCanceledMessage (const AuthMsg &msg)
 
bool handleTimeoutMessage (const AuthMsg &msg)
 
bool isCompleted () const
 

Public Attributes

std::string_view authScheme
 
std::shared_ptr< dhtnet::ChannelSocket > channel
 
std::string credentials
 
unsigned maxTries {3}
 
unsigned numTries {0}
 
- Public Attributes inherited from jami::ArchiveAccountManager::DeviceContextBase
std::string accData
 
bool archiveTransferredWithoutFailure {false}
 
bool authEnabled {false}
 
uint64_t opId
 
std::string scheme
 
AuthDecodingState state {AuthDecodingState::EST}
 

Detailed Description

Definition at line 501 of file archive_account_manager.cpp.

Constructor & Destructor Documentation

◆ AddDeviceContext()

jami::ArchiveAccountManager::AddDeviceContext::AddDeviceContext ( std::shared_ptr< dhtnet::ChannelSocket >  c)
inline

Definition at line 509 of file archive_account_manager.cpp.

References jami::EST.

Member Function Documentation

◆ createCanceledMsg()

AuthMsg jami::ArchiveAccountManager::AddDeviceContext::createCanceledMsg ( ) const
inline

Definition at line 514 of file archive_account_manager.cpp.

References jami::ArchiveAccountManager::AuthMsg::set(), and jami::toString().

Here is the call graph for this function:

Member Data Documentation

◆ authScheme

std::string_view jami::ArchiveAccountManager::AddDeviceContext::authScheme

Definition at line 506 of file archive_account_manager.cpp.

◆ channel

std::shared_ptr<dhtnet::ChannelSocket> jami::ArchiveAccountManager::AddDeviceContext::channel

Definition at line 505 of file archive_account_manager.cpp.

◆ credentials

std::string jami::ArchiveAccountManager::AddDeviceContext::credentials

Definition at line 507 of file archive_account_manager.cpp.

◆ maxTries

unsigned jami::ArchiveAccountManager::AddDeviceContext::maxTries {3}

Definition at line 504 of file archive_account_manager.cpp.

◆ numTries

unsigned jami::ArchiveAccountManager::AddDeviceContext::numTries {0}

Definition at line 503 of file archive_account_manager.cpp.


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