|
Ring Daemon
|


Public Member Functions | |
| Impl (const std::shared_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_ |
| const std::string | accountId_ |
| std::map< DeviceId, std::vector< std::shared_ptr< dhtnet::ChannelSocket > > > | syncConnections_ |
| std::recursive_mutex | syncConnectionsMtx_ |
Definition at line 29 of file sync_module.cpp.
| jami::SyncModule::Impl::Impl | ( | const std::shared_ptr< JamiAccount > & | account | ) |
Definition at line 49 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 accountId_, jami::emitSignal(), JAMI_LOG, JAMI_WARNING, 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 55 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 34 of file sync_module.cpp.
| const std::string jami::SyncModule::Impl::accountId_ |
Definition at line 35 of file sync_module.cpp.
Referenced by onChannelShutdown().
| std::map<DeviceId , std::vector<std::shared_ptr<dhtnet::ChannelSocket> > > jami::SyncModule::Impl::syncConnections_ |
Definition at line 39 of file sync_module.cpp.
Referenced by onChannelShutdown().
| std::recursive_mutex jami::SyncModule::Impl::syncConnectionsMtx_ |
Definition at line 38 of file sync_module.cpp.
Referenced by onChannelShutdown().