C++ Actor Framework 1.0.0
Loading...
Searching...
No Matches
caf::net::dsl::has_uri_connect< Base, Subtype > Class Template Reference

DSL entry point for creating a client from an URI. More...

#include <has_uri_connect.hpp>

Inherits Base.

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.
 

Detailed Description

template<class Base, class Subtype>
class caf::net::dsl::has_uri_connect< Base, Subtype >

DSL entry point for creating a client from an URI.

Member Function Documentation

◆ connect() [1/2]

template<class Base , class Subtype >
auto caf::net::dsl::has_uri_connect< Base, Subtype >::connect ( const uri & endpoint)

Creates a connect_factory object for the given TCP endpoint.

Parameters
endpointThe endpoint of the TCP server to connect to.
Returns
a connect_factory object initialized with the given parameters.

◆ connect() [2/2]

template<class Base , class Subtype >
auto caf::net::dsl::has_uri_connect< Base, Subtype >::connect ( expected< uri > endpoint)

Creates a connect_factory object for the given TCP endpoint.

Parameters
endpointThe endpoint of the TCP server to connect to.
Returns
a connect_factory object initialized with the given parameters.

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