Listens to login events on a sync client.
More...
#include <objectbox-sync.hpp>
|
| virtual | ~SyncClientLoginListener ()=default |
| |
| virtual void | loggedIn () noexcept=0 |
| | Called on a successful login. At this point the connection to the sync destination was established and entered an operational state, in which data can be sent both ways.
|
| |
| virtual void | loginFailed (OBXSyncCode) noexcept=0 |
| | Called on a login failure with a result code specifying the issue.
|
| |
Listens to login events on a sync client.
◆ ~SyncClientLoginListener()
| virtual obx::SyncClientLoginListener::~SyncClientLoginListener |
( |
| ) |
|
|
virtualdefault |
◆ loggedIn()
| virtual void obx::SyncClientLoginListener::loggedIn |
( |
| ) |
|
|
pure virtualnoexcept |
Called on a successful login. At this point the connection to the sync destination was established and entered an operational state, in which data can be sent both ways.
◆ loginFailed()
| virtual void obx::SyncClientLoginListener::loginFailed |
( |
OBXSyncCode |
| ) |
|
|
pure virtualnoexcept |
Called on a login failure with a result code specifying the issue.