47 explicit Server(std::unique_ptr<impl::IServerImpl>
impl) noexcept
71 return impl_->local_endpoint_uris();
82 [[nodiscard]] std::shared_ptr<executors::IExecutor>
executor() {
83 return impl_->executor();
88 std::unique_ptr<impl::IServerImpl>
impl_;
void stop()
Stop processing of this server.
Server(std::unique_ptr< impl::IServerImpl > impl) noexcept
Constructor.
std::unique_ptr< impl::IServerImpl > impl_
Object of the internal implementation.
void run_until_signal()
Run processing of this server until SIGINT or SIGTERM is received.
std::vector< addresses::URI > local_endpoint_uris()
Get the URIs of the local endpoints in this server.
std::shared_ptr< executors::IExecutor > executor()
Get the executor.
Definition of IExecutor class.
Definition of IServerImpl class.
Namespace of internal implementation.