Home
last modified time | relevance | path

Searched refs:SessionMultiProxy (Results 1 – 4 of 4) sorted by relevance

/dports/net-im/tdlib/td-a53cb30e99f937cfd64e0266fa558785a184a553/td/telegram/net/
H A DSessionMultiProxy.cpp21 SessionMultiProxy::SessionMultiProxy() = default;
22 SessionMultiProxy::~SessionMultiProxy() = default;
24 SessionMultiProxy::SessionMultiProxy(int32 session_count, std::shared_ptr<AuthDataShared> shared_au… in SessionMultiProxy() function in td::SessionMultiProxy
40 void SessionMultiProxy::send(NetQueryPtr query) { in send()
57 void SessionMultiProxy::update_main_flag(bool is_main) { in update_main_flag()
72 void SessionMultiProxy::update_use_pfs(bool use_pfs) { in update_use_pfs()
104 void SessionMultiProxy::update_mtproto_header() { in update_mtproto_header()
110 void SessionMultiProxy::start_up() { in start_up()
114 bool SessionMultiProxy::get_pfs_flag() const { in get_pfs_flag()
118 void SessionMultiProxy::init() { in init()
[all …]
H A DSessionMultiProxy.h20 class SessionMultiProxy final : public Actor {
22 SessionMultiProxy();
23 SessionMultiProxy(const SessionMultiProxy &other) = delete;
24 SessionMultiProxy &operator=(const SessionMultiProxy &other) = delete;
25 ~SessionMultiProxy() final;
26SessionMultiProxy(int32 session_count, std::shared_ptr<AuthDataShared> shared_auth_data, bool is_m…
H A DNetQueryDispatcher.cpp99 … send_closure_later(dcs_[dc_pos].main_session_, &SessionMultiProxy::send, std::move(net_query)); in dispatch()
167 dc.upload_session_ = create_actor_on_scheduler<SessionMultiProxy>( in wait_dc_init()
170 dc.download_session_ = create_actor_on_scheduler<SessionMultiProxy>( in wait_dc_init()
173 dc.download_small_session_ = create_actor_on_scheduler<SessionMultiProxy>( in wait_dc_init()
220 send_closure_later(dcs_[i - 1].upload_session_, &SessionMultiProxy::update_use_pfs, use_pfs); in update_session_count()
232 send_closure_later(dcs_[i - 1].main_session_, &SessionMultiProxy::update_destroy_auth_key, in destroy_auth_keys()
244 send_closure_later(dcs_[i - 1].main_session_, &SessionMultiProxy::update_use_pfs, use_pfs); in update_use_pfs()
245 send_closure_later(dcs_[i - 1].upload_session_, &SessionMultiProxy::update_use_pfs, use_pfs); in update_use_pfs()
256 send_closure_later(dcs_[i - 1].main_session_, &SessionMultiProxy::update_mtproto_header); in update_mtproto_header()
257 send_closure_later(dcs_[i - 1].upload_session_, &SessionMultiProxy::update_mtproto_header); in update_mtproto_header()
[all …]
H A DNetQueryDispatcher.h31 class SessionMultiProxy; variable
71 ActorOwn<SessionMultiProxy> main_session_;
72 ActorOwn<SessionMultiProxy> download_session_;
73 ActorOwn<SessionMultiProxy> download_small_session_;
74 ActorOwn<SessionMultiProxy> upload_session_;