|
cpp-msgpack-rpc 0.2.0
An RPC library implementing MessagePack RPC.
|
Class of configuration of executors. More...
#include <msgpack_rpc/config/executor_config.h>
Public Member Functions | |
| ExecutorConfig () | |
| Constructor. | |
| std::size_t | num_callback_threads () const noexcept |
| Get the number of threads for callbacks. | |
| ExecutorConfig & | num_callback_threads (std::size_t value) |
| Set the number of threads for callbacks. | |
| std::size_t | num_transport_threads () const noexcept |
| Get the number of threads for transport. | |
| ExecutorConfig & | num_transport_threads (std::size_t value) |
| Set the number of threads for transport. | |
Private Attributes | |
| std::size_t | num_callback_threads_ |
| Number of threads for callbacks. | |
| std::size_t | num_transport_threads_ |
| Number of threads for transport. | |
Class of configuration of executors.
Definition at line 31 of file executor_config.h.
| msgpack_rpc::config::ExecutorConfig::ExecutorConfig | ( | ) |
Constructor.
Definition at line 27 of file executor_config.cpp.
|
nodiscardnoexcept |
Get the number of threads for callbacks.
Definition at line 52 of file executor_config.cpp.
| ExecutorConfig & msgpack_rpc::config::ExecutorConfig::num_callback_threads | ( | std::size_t | value | ) |
Set the number of threads for callbacks.
| [in] | value | Number of threads for callbacks. |
Definition at line 39 of file executor_config.cpp.
|
nodiscardnoexcept |
Get the number of threads for transport.
Definition at line 48 of file executor_config.cpp.
| ExecutorConfig & msgpack_rpc::config::ExecutorConfig::num_transport_threads | ( | std::size_t | value | ) |
Set the number of threads for transport.
| [in] | value | Number of threads for transport. |
Definition at line 30 of file executor_config.cpp.
|
private |
Number of threads for callbacks.
Definition at line 71 of file executor_config.h.
|
private |
Number of threads for transport.
Definition at line 68 of file executor_config.h.