Lines Matching refs:conn_
277 Connection* conn() { return conn_; } in conn()
283 conn_ = port_->CreateConnection(remote_candidate, Port::ORIGIN_MESSAGE); in CreateConnection()
286 conn_->set_remote_ice_mode(remote_ice_mode); in CreateConnection()
287 conn_->set_use_candidate_attr(remote_ice_mode == ICEMODE_FULL); in CreateConnection()
288 conn_->SignalStateChange.connect(this, in CreateConnection()
290 conn_->SignalDestroyed.connect(this, &TestChannel::OnDestroyed); in CreateConnection()
291 conn_->SignalReadyToSend.connect(this, in CreateConnection()
305 conn_ = port_->CreateConnection(c, Port::ORIGIN_MESSAGE); in AcceptConnection()
306 conn_->SignalDestroyed.connect(this, &TestChannel::OnDestroyed); in AcceptConnection()
307 conn_->SendStunBindingResponse(remote_request_.get()); in AcceptConnection()
311 void Ping(int64_t now) { conn_->Ping(now); } in Ping()
313 if (conn_) { in Stop()
314 conn_->Destroy(); in Stop()
323 return conn_->Send(data, len, options); in SendData()
351 ASSERT_EQ(conn_, conn); in OnDestroyed()
353 conn_ = NULL; in OnDestroyed()
377 ASSERT_EQ(conn, conn_); in OnConnectionReadyToSend()
385 Connection* conn_ = nullptr; member in cricket::TestChannel