• Home
  • Raw
  • Download

Lines Matching refs:tcp_connection

1241   ``''''''``    tcp_connection::pointer new_connection =
1242 ``''''''`` tcp_connection::create(io_context_);
1255 ``''''''`` void handle_accept(tcp_connection::pointer new_connection,
1268 [heading The tcp_connection class]
1270 We will use `shared_ptr` and `enable_shared_from_this` because we want to keep the `tcp_connection`…
1273 ``''''''``class tcp_connection
1274 ``''''''`` : public boost::enable_shared_from_this<tcp_connection>
1277 ``''''''`` typedef boost::shared_ptr<tcp_connection> pointer;
1281 ``''''''`` return pointer(new tcp_connection(io_context));
1312 ``''''''`` boost::bind(&tcp_connection::handle_write, shared_from_this(),
1324 ``''''''`` tcp_connection(boost::asio::io_context& io_context)
1355 ``''''''`` boost::bind(&tcp_connection::handle_write, shared_from_this()));
1399 ``''''''``class tcp_connection
1400 ``''''''`` : public boost::enable_shared_from_this<tcp_connection>
1403 ``''''''`` typedef boost::shared_ptr<tcp_connection> pointer;
1407 ``''''''`` return pointer(new tcp_connection(io_context));
1420 ``''''''`` boost::bind(&tcp_connection::handle_write, shared_from_this(),
1426 ``''''''`` tcp_connection(boost::asio::io_context& io_context)
1453 ``''''''`` tcp_connection::pointer new_connection =
1454 ``''''''`` tcp_connection::create(io_context_);
1461 ``''''''`` void handle_accept(tcp_connection::pointer new_connection,
2083 [heading The tcp_connection and tcp_server classes]
2088 ``''''''``class tcp_connection
2089 ``''''''`` : public boost::enable_shared_from_this<tcp_connection>
2092 ``''''''`` typedef boost::shared_ptr<tcp_connection> pointer;
2096 ``''''''`` return pointer(new tcp_connection(io_context));
2109 ``''''''`` boost::bind(&tcp_connection::handle_write, shared_from_this()));
2113 ``''''''`` tcp_connection(boost::asio::io_context& io_context)
2139 ``''''''`` tcp_connection::pointer new_connection =
2140 ``''''''`` tcp_connection::create(io_context_);
2147 ``''''''`` void handle_accept(tcp_connection::pointer new_connection,
2252 ``''''''``class tcp_connection
2253 ``''''''`` : public boost::enable_shared_from_this<tcp_connection>
2256 ``''''''`` typedef boost::shared_ptr<tcp_connection> pointer;
2260 ``''''''`` return pointer(new tcp_connection(io_context));
2273 ``''''''`` boost::bind(&tcp_connection::handle_write, shared_from_this()));
2277 ``''''''`` tcp_connection(boost::asio::io_context& io_context)
2303 ``''''''`` tcp_connection::pointer new_connection =
2304 ``''''''`` tcp_connection::create(io_context_);
2311 ``''''''`` void handle_accept(tcp_connection::pointer new_connection,