|
cpp-msgpack-rpc 0.2.0
An RPC library implementing MessagePack RPC.
|
Class of configurations of servers. More...
#include <msgpack_rpc/config/server_config.h>
Public Member Functions | |
| ServerConfig () | |
| Constructor. | |
| ServerConfig & | add_uri (const addresses::URI &uri) |
| Add a URI of the server. | |
| ServerConfig & | add_uri (std::string_view uri) |
| Add a URI of the server. | |
| const ExecutorConfig & | executor () const noexcept |
| Get the configuration of executors. | |
| ExecutorConfig & | executor () noexcept |
| Get the configuration of executors. | |
| const MessageParserConfig & | message_parser () const noexcept |
| Get the configuration of parsers of messages. | |
| MessageParserConfig & | message_parser () noexcept |
| Get the configuration of parsers of messages. | |
| const std::vector< addresses::URI > & | uris () const noexcept |
| Get the URIs of the server. | |
Private Attributes | |
| ExecutorConfig | executor_ |
| Configuration of executors. | |
| MessageParserConfig | message_parser_ |
| Configuration of parsers of messages. | |
| std::vector< addresses::URI > | uris_ |
| URIs. | |
Class of configurations of servers.
Definition at line 35 of file server_config.h.
|
default |
Constructor.
| ServerConfig & msgpack_rpc::config::ServerConfig::add_uri | ( | const addresses::URI & | uri | ) |
Add a URI of the server.
| [in] | uri | URI. |
Definition at line 30 of file server_config.cpp.
| ServerConfig & msgpack_rpc::config::ServerConfig::add_uri | ( | std::string_view | uri | ) |
Add a URI of the server.
| [in] | uri | URI. |
Definition at line 35 of file server_config.cpp.
|
nodiscardnoexcept |
Get the configuration of executors.
Definition at line 53 of file server_config.cpp.
|
nodiscardnoexcept |
Get the configuration of executors.
Definition at line 51 of file server_config.cpp.
|
nodiscardnoexcept |
Get the configuration of parsers of messages.
Definition at line 47 of file server_config.cpp.
|
nodiscardnoexcept |
Get the configuration of parsers of messages.
Definition at line 43 of file server_config.cpp.
|
nodiscardnoexcept |
|
private |
Configuration of executors.
Definition at line 104 of file server_config.h.
|
private |
Configuration of parsers of messages.
Definition at line 101 of file server_config.h.
|
private |
URIs.
Definition at line 98 of file server_config.h.