|
Ring Daemon
|
#include <sync_module.h>

Classes | |
| class | Impl |
Public Member Functions | |
| void | cacheSyncConnection (std::shared_ptr< dhtnet::ChannelSocket > &&socket, const std::string &peerId, const DeviceId &deviceId) |
| Store a new Sync connection. | |
| bool | isConnected (const DeviceId &deviceId) const |
| SyncModule (const std::shared_ptr< JamiAccount > &account) | |
| void | syncWithConnected (const std::shared_ptr< SyncMsg > &syncMsg=nullptr, const DeviceId &deviceId={}) |
| Send sync to all connected devices. | |
| ~SyncModule ()=default | |
Definition at line 23 of file sync_module.h.
| jami::SyncModule::SyncModule | ( | const std::shared_ptr< JamiAccount > & | account | ) |
Definition at line 146 of file sync_module.cpp.
|
default |
| void jami::SyncModule::cacheSyncConnection | ( | std::shared_ptr< dhtnet::ChannelSocket > && | socket, |
| const std::string & | peerId, | ||
| const DeviceId & | deviceId | ||
| ) |
Store a new Sync connection.
| socket | The new sync channel |
| peerId | The contact who owns the device |
| deviceId | Device linked to that transport |
Definition at line 172 of file sync_module.cpp.
References jami::emitSignal(), and JAMI_WARNING.

Definition at line 211 of file sync_module.cpp.
References jami::emitSignal().

| void jami::SyncModule::syncWithConnected | ( | const std::shared_ptr< SyncMsg > & | syncMsg = nullptr, |
| const DeviceId & | deviceId = {} |
||
| ) |
Send sync to all connected devices.
| syncMsg | Default message |
| deviceId | If we need to filter on a device |
Definition at line 221 of file sync_module.cpp.
References jami::emitSignal(), JAMI_DEBUG, and JAMI_WARNING.
