15 #include "td/actor/actor.h" 17 #include "td/utils/common.h" 47 explicit ClientActor(unique_ptr<TdCallback> callback, Options options = {});
54 void request(uint64
id, td_api::object_ptr<td_api::Function>
request);
62 static td_api::object_ptr<td_api::Object>
execute(td_api::object_ptr<td_api::Function>
request);
84 void start_up() final;
87 unique_ptr<TdCallback> callback_;
94 std::shared_ptr<NetQueryStats> create_net_query_stats();
100 void dump_pending_network_queries(NetQueryStats &stats);
106 uint64 get_pending_network_query_count(NetQueryStats &stats);
void request(uint64 id, td_api::object_ptr< td_api::Function > request)
std::shared_ptr< NetQueryStats > net_query_stats
NetQueryStats object for this client.
Definition: ClientActor.h:35
Options for ClientActor creation.
Definition: ClientActor.h:33
ClientActor(unique_ptr< TdCallback > callback, Options options={})
Options()
Default constructor.
Definition: ClientActor.h:38
Definition: ClientActor.h:30
static td_api::object_ptr< td_api::Object > execute(td_api::object_ptr< td_api::Function > request)