MCPcopy Create free account
hub / github.com/TelegramMessenger/cocoon / on_query_answer

Method on_query_answer

net/TcpClient.cpp:72–74  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

70 td::actor::send_closure(id_, &TcpClientImpl::process_query, connection_id_, query_id, std::move(data));
71 }
72 void on_query_answer(td::actor::ActorId<TcpConnection> conn, td::int64 query_id, td::BufferSlice data) override {
73 td::actor::send_closure(id_, &TcpClientImpl::process_query_answer, connection_id_, query_id, std::move(data));
74 }
75 void on_query_error(td::actor::ActorId<TcpConnection> conn, td::int64 query_id, td::Status error) override {
76 td::actor::send_closure(id_, &TcpClientImpl::process_query_error, connection_id_, query_id, std::move(error));
77 }

Callers 1

process_packetMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected