Home
last modified time | relevance | path

Searched refs:ping_connection_ (Results 1 – 2 of 2) sorted by relevance

/dports/net-im/tdlib/td-a53cb30e99f937cfd64e0266fa558785a184a553/td/mtproto/
H A DPing.cpp30ping_connection_ = PingConnection::create_ping_pong(std::move(raw_connection), std::move(auth_data… in create_ping_actor()
32 ping_connection_ = PingConnection::create_req_pq(std::move(raw_connection), 2); in create_ping_actor()
37 unique_ptr<PingConnection> ping_connection_; in create_ping_actor() member in td::mtproto::create_ping_actor::PingActor
42 Scheduler::subscribe(ping_connection_->get_poll_info().extract_pollable_fd(this)); in create_ping_actor()
57 auto status = ping_connection_->flush(); in create_ping_actor()
62 if (ping_connection_->was_pong()) { in create_ping_actor()
74 auto raw_connection = ping_connection_->move_as_raw_connection(); in create_ping_actor()
88 raw_connection->extra().rtt = ping_connection_->rtt(); in create_ping_actor()
/dports/net-im/tdlib/td-a53cb30e99f937cfd64e0266fa558785a184a553/test/
H A Dmtproto.cpp208 unique_ptr<mtproto::PingConnection> ping_connection_; member in TestPingActor
219 ping_connection_ = mtproto::PingConnection::create_req_pq( in start_up()
225 Scheduler::subscribe(ping_connection_->get_poll_info().extract_pollable_fd(this)); in start_up()
232 Scheduler::unsubscribe_before_close(ping_connection_->get_poll_info().get_pollable_fd_ref()); in tear_down()
238 auto status = ping_connection_->flush(); in loop()
243 if (ping_connection_->was_pong()) { in loop()