cpp-msgpack-rpc 0.2.0
An RPC library implementing MessagePack RPC.
|
Interface of internal implementation of servers. More...
#include <msgpack_rpc/servers/impl/i_server_impl.h>
Public Member Functions | |
IServerImpl (const IServerImpl &)=delete | |
IServerImpl (IServerImpl &&)=delete | |
virtual | ~IServerImpl () noexcept=default |
Destructor. | |
virtual std::shared_ptr< executors::IExecutor > | executor ()=0 |
Get the executor. | |
virtual std::vector< addresses::URI > | local_endpoint_uris ()=0 |
Get the URIs of the local endpoints in this server. | |
IServerImpl & | operator= (const IServerImpl &)=delete |
IServerImpl & | operator= (IServerImpl &&)=delete |
virtual void | run_until_signal ()=0 |
Run processing of this server until SIGINT or SIGTERM is received. | |
virtual void | stop ()=0 |
Stop processing of this server. |
Protected Member Functions | |
IServerImpl () noexcept=default | |
Constructor. |
Interface of internal implementation of servers.
Definition at line 33 of file i_server_impl.h.
|
nodiscardpure virtual |
Get the executor.
Implemented in msgpack_rpc::servers::impl::ServerImpl.
|
nodiscardpure virtual |
Get the URIs of the local endpoints in this server.
Implemented in msgpack_rpc::servers::impl::ServerImpl.
|
pure virtual |
Run processing of this server until SIGINT or SIGTERM is received.
Implemented in msgpack_rpc::servers::impl::ServerImpl.
|
pure virtual |
Stop processing of this server.
Implemented in msgpack_rpc::servers::impl::ServerImpl.