List. More...
#include <objectbox-sync.hpp>

Public Types | |
| using | TimePoint = std::chrono::time_point< std::chrono::system_clock, std::chrono::nanoseconds > |
Public Member Functions | |
| virtual | ~SyncClientTimeListener ()=default |
| virtual void | serverTime (TimePoint time) noexcept=0 |
| Called when a server time information is received on the client. | |
List.
Listens to sync time information events on a sync client.
| using obx::SyncClientTimeListener::TimePoint = std::chrono::time_point<std::chrono::system_clock, std::chrono::nanoseconds> |
|
virtualdefault |
|
pure virtualnoexcept |
Called when a server time information is received on the client.
| time | - current server timestamp since Unix epoch |