19#ifndef CPPREALM_BRIDGE_SYNC_SESSION_HPP
20#define CPPREALM_BRIDGE_SYNC_SESSION_HPP
25#include <system_error>
39 Waiting_for_access_token,
43 열거형 클래스 connection_state {
53 열거형 connection_state connection_state()
const;
58 oid wait_for_upload_completion(std::function<
oid(
status)>&& 콜백);
62 oid wait_for_download_completion(std::function<
oid(
status)>&& 콜백);
67 std::future<void> wait_for_upload_completion();
70 std::future<void> wait_for_download_completion();
109 uint64_t
관찰_연결_변경(std::function< oid
( 열거형
connection_state old_state , 열거형 connection_state new_state)>&& 콜백);
117 연산자 std::weak_ptr<SyncSession>();
119 std::weak_ptr<SyncSession> m_session;
void resume()
Definition: sync_session.cpp:108
uint64_t 관찰_연결_변경(std::function< oid(열거형 connection_state old_state, 열거형 connection_state new_state)> & 콜백)
Definition: sync_session.cpp:124
void unregister_connection_change_observer(uint64_t token)
Definition: sync_session.cpp:134
pause() 무효화
Definition: sync_session.cpp:100
oid reconnect()
Definition: sync_session.cpp:116