Lines Matching refs:Connection
32 void SetSelectedConnection(const Connection* selected_connection) override;
33 void AddConnection(const Connection* connection) override;
34 void OnConnectionDestroyed(const Connection* connection) override;
35 rtc::ArrayView<const Connection*> connections() const override { in connections()
36 return rtc::ArrayView<const Connection*>( in connections()
37 const_cast<const Connection**>(connections_.data()), in connections()
45 bool GetUseCandidateAttr(const Connection* conn,
50 const Connection* connection) override;
53 std::vector<const Connection*> PruneConnections() override;
56 const Connection* FindNextPingableConnection() override;
57 void MarkConnectionPinged(const Connection* conn) override;
81 const Connection* FindOldestConnectionNeedingTriggeredCheck(int64_t now);
84 const Connection* MorePingable(const Connection* conn1,
85 const Connection* conn2);
88 const Connection* MostLikelyToWork(const Connection* conn1,
89 const Connection* conn2);
91 const Connection* LeastRecentlyPinged(const Connection* conn1,
92 const Connection* conn2);
94 bool IsPingable(const Connection* conn, int64_t now) const;
95 bool IsBackupConnection(const Connection* conn) const;
98 bool WritableConnectionPastPingInterval(const Connection* conn,
100 int CalculateActiveWritablePingInterval(const Connection* conn,
103 std::map<const rtc::Network*, const Connection*> GetBestConnectionByNetwork()
105 std::vector<const Connection*> GetBestWritableConnectionPerNetwork() const;
107 bool ReadyToSend(const Connection* connection) const;
108 bool PresumedWritable(const Connection* conn) const;
111 const Connection* a,
112 const Connection* b,
123 const Connection* a,
124 const Connection* b,
127 int CompareConnectionCandidates(const Connection* a,
128 const Connection* b) const;
134 int CompareConnections(const Connection* a,
135 const Connection* b,
140 const Connection* new_connection);
144 std::function<bool(const Connection*)> is_connection_pruned_func_;
154 const Connection* selected_connection_ = nullptr;
155 std::vector<const Connection*> connections_;
156 std::set<const Connection*> pinged_connections_;
157 std::set<const Connection*> unpinged_connections_;