A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://cylix.github.io/cpp_redis/html/classcpp__redis_1_1network_1_1tcp__client.html below:

cpp_redis: cpp_redis::network::tcp_client Class Reference

#include <tcp_client.hpp>

implementation of the tcp_client_iface based on tacopie networking library

◆ async_read() void cpp_redis::network::tcp_client::async_read ( read_requestrequest ) virtual ◆ async_write() void cpp_redis::network::tcp_client::async_write ( write_requestrequest ) virtual ◆ connect() void cpp_redis::network::tcp_client::connect ( const std::string &  addr, std::uint32_t  port, std::uint32_t  timeout_msecs  ) virtual ◆ disconnect() void cpp_redis::network::tcp_client::disconnect ( bool  wait_for_removal = false ) virtual

stop the tcp client

Parameters
wait_for_removal when sets to true, disconnect blocks until the underlying TCP client has been effectively removed from the io_service and that all the underlying callbacks have completed.

Implements cpp_redis::network::tcp_client_iface.

◆ is_connected() bool cpp_redis::network::tcp_client::is_connected ( void  ) const virtual ◆ set_nb_workers() void cpp_redis::network::tcp_client::set_nb_workers ( std::size_t  nb_threads )

set number of io service workers for the io service monitoring this tcp connection

Parameters
nb_threads number of threads to be assigned
◆ set_on_disconnection_handler() void cpp_redis::network::tcp_client::set_on_disconnection_handler ( const disconnection_handler_tdisconnection_handler ) virtual

The documentation for this class was generated from the following file:


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4