cpp-msgpack-rpc 0.2.0
An RPC library implementing MessagePack RPC.
|
Class of configuration of parsers of messages. More...
#include <msgpack_rpc/config/message_parser_config.h>
Public Member Functions | |
MessageParserConfig () | |
Constructor. | |
std::size_t | read_buffer_size () const noexcept |
Get the buffer size to read at once. | |
MessageParserConfig & | read_buffer_size (std::size_t value) |
Set the buffer size to read at once. |
Private Attributes | |
std::size_t | read_buffer_size_ |
Buffer size to read at once. |
Class of configuration of parsers of messages.
Definition at line 31 of file message_parser_config.h.
msgpack_rpc::config::MessageParserConfig::MessageParserConfig | ( | ) |
Constructor.
Definition at line 29 of file message_parser_config.cpp.
|
nodiscardnoexcept |
Get the buffer size to read at once.
Definition at line 42 of file message_parser_config.cpp.
MessageParserConfig & msgpack_rpc::config::MessageParserConfig::read_buffer_size | ( | std::size_t | value | ) |
Set the buffer size to read at once.
[in] | value | Buffer size to read at once. |
Definition at line 33 of file message_parser_config.cpp.
|
private |
Buffer size to read at once.
Definition at line 55 of file message_parser_config.h.