Home
last modified time | relevance | path

Searched refs:connections_ (Results 1 – 10 of 10) sorted by relevance

/third_party/boost/doc/html/boost_asio/example/cpp03/http/server/
Dconnection_manager.cpp20 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()
Dconnection_manager.hpp38 std::set<connection_ptr> connections_; member in http::server::connection_manager
/third_party/boost/libs/asio/example/cpp03/http/server/
Dconnection_manager.cpp20 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()
Dconnection_manager.hpp38 std::set<connection_ptr> connections_; member in http::server::connection_manager
/third_party/boost/doc/html/boost_asio/example/cpp11/http/server/
Dconnection_manager.cpp22 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()
Dconnection_manager.hpp42 std::set<connection_ptr> connections_; member in http::server::connection_manager
/third_party/boost/libs/asio/example/cpp11/http/server/
Dconnection_manager.cpp22 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()
Dconnection_manager.hpp42 std::set<connection_ptr> connections_; member in http::server::connection_manager
/third_party/mindspore/mindspore/ccsrc/ps/core/communicator/
Dtcp_server.cc243 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()
Dtcp_server.h134 std::map<evutil_socket_t, std::shared_ptr<TcpConnection>> connections_; variable