Searched refs:peers_ (Results 1 – 4 of 4) sorted by relevance
440 auto it = peers_.find(name); in GetPeerChannel()441 if (it == peers_.end()) in GetPeerChannel()477 if (peers_.find(name) != peers_.end()) { in AddPeer()485 auto result = peers_.insert(std::make_pair(name, channel)); in AddPeer()490 RecordPeerCount(peers_.size()); in AddPeer()515 auto it = peers_.find(name); in DropPeer()517 if (it != peers_.end()) { in DropPeer()519 peers_.erase(it); in DropPeer()526 RecordPeerCount(peers_.size()); in DropPeer()708 for (const auto& peer : peers_) in DropAllPeers()[all …]
235 NodeMap peers_; variable
84 return peers_; in peers()218 peers_.clear(); in Close()357 peers_[id] = name; in OnRead()404 peers_[id] = name; in OnHangingGetRead()407 peers_.erase(id); in OnHangingGetRead()
118 Peers peers_; variable