|
C++ Actor Framework 0.19
|
DSL entry point for creating a client from an URI. More...
#include <has_uri_connect.hpp>
Public Types | |
| using | super = has_connect< Base, Subtype > |
Public Member Functions | |
| auto | connect (const uri &endpoint) |
Creates a connect_factory object for the given TCP endpoint. | |
| auto | connect (expected< uri > endpoint) |
Creates a connect_factory object for the given TCP endpoint. | |
| auto | connect (std::string host, uint16_t port) |
Creates a connect_factory object for the given TCP host and port. | |
| auto | connect (stream_socket fd) |
Creates a connect_factory object for the given stream fd. | |
| auto | connect (ssl::connection conn) |
Creates a connect_factory object for the given SSL connection. | |
Public Member Functions inherited from caf::net::dsl::has_connect< Base, Subtype > | |
| auto | connect (std::string host, uint16_t port) |
Creates a connect_factory object for the given TCP host and port. | |
| auto | connect (stream_socket fd) |
Creates a connect_factory object for the given stream fd. | |
| auto | connect (ssl::connection conn) |
Creates a connect_factory object for the given SSL connection. | |
DSL entry point for creating a client from an URI.
| auto caf::net::dsl::has_uri_connect< Base, Subtype >::connect | ( | const uri & | endpoint | ) |
Creates a connect_factory object for the given TCP endpoint.
| endpoint | The endpoint of the TCP server to connect to. |
connect_factory object initialized with the given parameters. | auto caf::net::dsl::has_uri_connect< Base, Subtype >::connect | ( | expected< uri > | endpoint | ) |
Creates a connect_factory object for the given TCP endpoint.
| endpoint | The endpoint of the TCP server to connect to. |
connect_factory object initialized with the given parameters. | auto caf::net::dsl::has_connect< Base, Subtype >::connect | ( | ssl::connection | conn | ) |
Creates a connect_factory object for the given SSL connection.
| conn | The SSL connection to use. |
connect_factory object that will use the given connection. | auto caf::net::dsl::has_connect< Base, Subtype >::connect | ( | std::string | host, |
| uint16_t | port | ||
| ) |
Creates a connect_factory object for the given TCP host and port.
| host | The hostname or IP address to connect to. |
| port | The port number to connect to. |
connect_factory object initialized with the given parameters. | auto caf::net::dsl::has_connect< Base, Subtype >::connect | ( | stream_socket | fd | ) |
Creates a connect_factory object for the given stream fd.
| fd | The stream socket to use for the connection. |
connect_factory object that will use the given socket.