|
C++ Actor Framework 0.19
|
DSL entry point for creating a server. More...
#include <has_accept.hpp>
Inherits Base.
Public Member Functions | |
| auto | accept (uint16_t port, std::string bind_address="") |
Creates an accept_factory object for the given TCP port and bind_address. | |
| auto | accept (tcp_accept_socket fd) |
Creates an accept_factory object for the given accept socket. | |
| auto | accept (ssl::tcp_acceptor acc) |
Creates an accept_factory object for the given acceptor. | |
DSL entry point for creating a server.
| auto caf::net::dsl::has_accept< Base, Subtype >::accept | ( | ssl::tcp_acceptor | acc | ) |
Creates an accept_factory object for the given acceptor.
| acc | The SSL acceptor for incoming TCP connections. |
accept_factory object that will start a server on acc. | auto caf::net::dsl::has_accept< Base, Subtype >::accept | ( | tcp_accept_socket | fd | ) |
Creates an accept_factory object for the given accept socket.
| fd | File descriptor for the accept socket. |
accept_factory object that will start a server on fd. | auto caf::net::dsl::has_accept< Base, Subtype >::accept | ( | uint16_t | port, |
| std::string | bind_address = "" |
||
| ) |
Creates an accept_factory object for the given TCP port and bind_address.
| port | Port number to bind to. |
| bind_address | IP address to bind to. Default is an empty string. |
accept_factory object initialized with the given parameters.