C++ Actor Framework 1.0.0
Loading...
Searching...
No Matches
caf::net::dsl::server_factory_base< Derived > Class Template Referenceabstract

Base type for server factories for use with can_accept. More...

#include <server_factory_base.hpp>

Public Member Functions

template<class F >
Derived && do_on_error (F callback) &&
 Sets the callback for errors.
 
Derived && max_connections (size_t value) &&
 Configures how many concurrent connections the server accepts.
 
Derived && reuse_address (bool value) &&
 Configures whether the server creates its socket with SO_REUSEADDR.
 

Protected Member Functions

Derived && dref ()
 
template<class Fn >
auto with_ssl_acceptor_or_socket (Fn &&fn)
 
virtual server_config_value & base_config ()=0
 

Detailed Description

template<class Derived>
class caf::net::dsl::server_factory_base< Derived >

Base type for server factories for use with can_accept.


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