|
cpp-msgpack-rpc 0.2.0
An RPC library implementing MessagePack RPC.
|
Interface of implementation of builders of clients. More...
#include <msgpack_rpc/clients/impl/i_client_builder_impl.h>
Public Member Functions | |
| IClientBuilderImpl (const IClientBuilderImpl &)=delete | |
| IClientBuilderImpl (IClientBuilderImpl &&)=delete | |
| virtual | ~IClientBuilderImpl () noexcept=default |
| Destructor. | |
| virtual std::shared_ptr< clients::impl::IClientImpl > | build ()=0 |
| Build a client. | |
| virtual void | connect_to (addresses::URI uri)=0 |
| Add a URI to connect to. | |
| IClientBuilderImpl & | operator= (const IClientBuilderImpl &)=delete |
| IClientBuilderImpl & | operator= (IClientBuilderImpl &&)=delete |
| virtual void | register_protocol (std::shared_ptr< transport::IBackend > backend)=0 |
| Register a protocol. | |
Protected Member Functions | |
| IClientBuilderImpl () noexcept=default | |
| Constructor. | |
Interface of implementation of builders of clients.
Definition at line 37 of file i_client_builder_impl.h.
|
nodiscardpure virtual |
|
pure virtual |
Add a URI to connect to.
| [in] | uri | URI. |
Implemented in msgpack_rpc::clients::impl::ClientBuilderImpl.
|
pure virtual |
Register a protocol.
| [in] | backend | Backend of the protocol. |
Implemented in msgpack_rpc::clients::impl::ClientBuilderImpl.