This struct is used to configure the server.
More...
#include <iceoryx_posh/popo/server_options.hpp>
|
static cxx::expected< ServerOptions, cxx::Serialization::Error > | deserialize (const cxx::Serialization &serialized) noexcept |
| deserialization of the ServerOptions
|
|
|
uint64_t | requestQueueCapacity {ServerChunkQueueData_t::MAX_CAPACITY} |
| The size of the request queue where chunks are stored before they are passed to the user. More...
|
|
iox::NodeName_t | nodeName {""} |
| The name of the node where the server should belong to.
|
|
bool | offerOnCreate {true} |
| The option whether the server should already be offered when creating it.
|
|
QueueFullPolicy | requestQueueFullPolicy {QueueFullPolicy::DISCARD_OLDEST_DATA} |
| The option whether the client should block when the request queue is full. More...
|
|
ConsumerTooSlowPolicy | clientTooSlowPolicy {ConsumerTooSlowPolicy::DISCARD_OLDEST_DATA} |
| The option whether the server should block when the response queue is full. More...
|
|
This struct is used to configure the server.
◆ operator==()
bool iox::popo::ServerOptions::operator== |
( |
const ServerOptions & |
rhs | ) |
const |
|
noexcept |
comparison operator
- Parameters
-
[in] | rhs | the right hand side of the comparison |
◆ clientTooSlowPolicy
ConsumerTooSlowPolicy iox::popo::ServerOptions::clientTooSlowPolicy {ConsumerTooSlowPolicy::DISCARD_OLDEST_DATA} |
◆ requestQueueCapacity
uint64_t iox::popo::ServerOptions::requestQueueCapacity {ServerChunkQueueData_t::MAX_CAPACITY} |
The size of the request queue where chunks are stored before they are passed to the user.
- Attention
- Depending on the underlying queue there can be a different overflow behavior
◆ requestQueueFullPolicy
QueueFullPolicy iox::popo::ServerOptions::requestQueueFullPolicy {QueueFullPolicy::DISCARD_OLDEST_DATA} |
The documentation for this struct was generated from the following file: