Ring Daemon 16.0.0
|
Public Member Functions | |
Impl (std::weak_ptr< JamiAccount > &&account) | |
void | onChannelShutdown (const std::shared_ptr< dhtnet::ChannelSocket > &socket, const DeviceId &device) |
void | syncInfos (const std::shared_ptr< dhtnet::ChannelSocket > &socket, const std::shared_ptr< SyncMsg > &syncMsg) |
Build SyncMsg and send it on socket. | |
Public Attributes | |
std::weak_ptr< JamiAccount > | account_ |
std::map< DeviceId, std::vector< std::shared_ptr< dhtnet::ChannelSocket > > > | syncConnections_ |
std::recursive_mutex | syncConnectionsMtx_ |
Definition at line 26 of file sync_module.cpp.
jami::SyncModule::Impl::Impl | ( | std::weak_ptr< JamiAccount > && | account | ) |
Definition at line 48 of file sync_module.cpp.
void jami::SyncModule::Impl::onChannelShutdown | ( | const std::shared_ptr< dhtnet::ChannelSocket > & | socket, |
const DeviceId & | device | ||
) |
Definition at line 151 of file sync_module.cpp.
References jami::emitSignal(), syncConnections_, and syncConnectionsMtx_.
void jami::SyncModule::Impl::syncInfos | ( | const std::shared_ptr< dhtnet::ChannelSocket > & | socket, |
const std::shared_ptr< SyncMsg > & | syncMsg | ||
) |
Build SyncMsg and send it on socket.
socket |
Definition at line 53 of file sync_module.cpp.
References jami::SyncMsg::c, jami::ConversationModule::convInfos(), jami::ConversationModule::convRequests(), jami::SyncMsg::cr, jami::SyncMsg::ds, jami::emitSignal(), JAMI_ERROR, jami::SyncMsg::ms, and jami::SyncMsg::p.
std::weak_ptr<JamiAccount> jami::SyncModule::Impl::account_ |
Definition at line 31 of file sync_module.cpp.
std::map<DeviceId , std::vector<std::shared_ptr<dhtnet::ChannelSocket> > > jami::SyncModule::Impl::syncConnections_ |
Definition at line 36 of file sync_module.cpp.
Referenced by onChannelShutdown().
std::recursive_mutex jami::SyncModule::Impl::syncConnectionsMtx_ |
Definition at line 34 of file sync_module.cpp.
Referenced by onChannelShutdown().