MCPcopy Create free account
hub / github.com/acl-dev/acl / set_timeout

Function set_timeout

lib_acl_cpp/include/acl_cpp/connpool/connect_client.hpp:70–73  ·  view source on GitHub ↗

public: * Virtual function, this function sets the network connection timeout and * network IO timeout, * subclasses can override this virtual function to set internal object timeout * @param conn_timeout {int} Network connection timeout (seconds) * @param rw_timeout {int} Network IO timeout (seconds) */

Source from the content-addressed store, hash-verified

68 * @param rw_timeout {int} Network IO timeout (seconds)
69 */
70 virtual void set_timeout(int conn_timeout, int rw_timeout) {
71 conn_timeout_ = conn_timeout;
72 rw_timeout_ = rw_timeout;
73 }
74
75protected:
76 int conn_timeout_;

Callers 5

echo_clientFunction · 0.50
memcacheMethod · 0.50
http_requestMethod · 0.50
setMethod · 0.50
set_attrsMethod · 0.50

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…