cpp-msgpack-rpc 0.2.0
An RPC library implementing MessagePack RPC.
|
Interface of backends of protocols. More...
#include <msgpack_rpc/transport/i_backend.h>
Public Member Functions | |
IBackend (const IBackend &)=delete | |
IBackend (IBackend &&)=delete | |
virtual | ~IBackend () noexcept=default |
Destructor. | |
virtual std::shared_ptr< IAcceptorFactory > | create_acceptor_factory ()=0 |
Create a factory to create acceptors. | |
virtual std::shared_ptr< IConnector > | create_connector ()=0 |
Create a connector to connect to endpoints of acceptors. | |
IBackend & | operator= (const IBackend &)=delete |
IBackend & | operator= (IBackend &&)=delete |
virtual std::string_view | scheme () const noexcept=0 |
Get the scheme. |
Protected Member Functions | |
IBackend () noexcept=default | |
Constructor. |
Interface of backends of protocols.
Definition at line 35 of file i_backend.h.
|
nodiscardpure virtual |
Create a factory to create acceptors.
Implemented in msgpack_rpc::transport::tcp::TCPBackend.
|
nodiscardpure virtual |
Create a connector to connect to endpoints of acceptors.
Implemented in msgpack_rpc::transport::tcp::TCPBackend.
|
nodiscardpure virtualnoexcept |