Searched refs:connections_ (Results 1 – 10 of 10) sorted by relevance
20 connections_.insert(c); in start()26 connections_.erase(c); in stop()32 std::for_each(connections_.begin(), connections_.end(), in stop_all()34 connections_.clear(); in stop_all()
38 std::set<connection_ptr> connections_; member in http::server::connection_manager
22 connections_.insert(c); in start()28 connections_.erase(c); in stop()34 for (auto c: connections_) in stop_all()36 connections_.clear(); in stop_all()
42 std::set<connection_ptr> connections_; member in http::server::connection_manager
243 for (auto it = connections_.begin(); it != connections_.end(); ++it) { in SendToAllClients()251 connections_.insert(std::make_pair(fd, connection)); in AddConnection()256 connections_.erase(fd); in RemoveConnection()259 …TcpConnection> TcpServer::GetConnectionByFd(const evutil_socket_t &fd) { return connections_[fd]; } in GetConnectionByFd()438 for (auto it = connections_.begin(); it != connections_.end(); ++it) { in SendMessage()447 int TcpServer::ConnectionNum() const { return SizeToInt(connections_.size()); } in ConnectionNum()449 …_socket_t, std::shared_ptr<TcpConnection>> &TcpServer::Connections() const { return connections_; } in Connections()
134 std::map<evutil_socket_t, std::shared_ptr<TcpConnection>> connections_; variable