Interface for message bus connection and acceptor factories. More...
#include <eagine/message_bus/conn_factory.hpp>
Public Member Functions | |
virtual auto | make_acceptor (string_view address) -> std::unique_ptr< acceptor >=0 |
Make a new acceptor listening on the specified address. More... | |
virtual auto | make_connector (string_view address) -> std::unique_ptr< connection >=0 |
Make a new connector connecting to the specified address. More... | |
auto | make_acceptor () |
Make a new acceptor listening on a default address. More... | |
auto | make_connector () |
Make a new connector connecting to the specified address. More... | |
auto | make_acceptor (identifier id) |
Make a new acceptor listening on the specified address. More... | |
auto | make_connector (identifier id) |
Make a new connector connecting to the specified address. More... | |
![]() | |
virtual auto | kind () -> connection_kind=0 |
Returns the connection kind. | |
virtual auto | addr_kind () -> connection_addr_kind=0 |
Returns the connection address kind. | |
virtual auto | type_id () -> identifier=0 |
Returns a description identifier of the implementation. | |
![]() | |
constexpr | interface (const interface &)=delete |
Not copyable. | |
auto | operator= (interface &&)=delete |
Not move assignable. | |
auto | operator= (const interface &)=delete |
Not copy assignable. | |
Additional Inherited Members | |
![]() | |
constexpr | interface () noexcept=default |
Default constructible by derived. | |
constexpr | interface (interface &&) noexcept=default |
Move constructible by derived. | |
Interface for message bus connection and acceptor factories.
|
inline |
Make a new acceptor listening on a default address.
Referenced by make_acceptor().
|
inline |
Make a new acceptor listening on the specified address.
|
pure virtual |
Make a new acceptor listening on the specified address.
Implemented in eagine::msgbus::posix_mqueue_connection_factory, and eagine::msgbus::direct_connection_factory.
|
inline |
Make a new connector connecting to the specified address.
Referenced by make_connector().
|
inline |
Make a new connector connecting to the specified address.
|
pure virtual |
Make a new connector connecting to the specified address.
Implemented in eagine::msgbus::posix_mqueue_connection_factory, and eagine::msgbus::direct_connection_factory.