A Gcs_xcom_interface needs to have an instance of this class initialized before engaging XCom.
More...
#include <gcs_xcom_proxy.h>
A Gcs_xcom_interface needs to have an instance of this class initialized before engaging XCom.
◆ Gcs_xcom_app_cfg()
Gcs_xcom_app_cfg::Gcs_xcom_app_cfg |
( |
| ) |
|
|
explicitdefault |
◆ ~Gcs_xcom_app_cfg()
virtual Gcs_xcom_app_cfg::~Gcs_xcom_app_cfg |
( |
| ) |
|
|
virtualdefault |
◆ deinit()
void Gcs_xcom_app_cfg::deinit |
( |
| ) |
|
Must be called when XCom is not engaged anymore.
◆ init()
void Gcs_xcom_app_cfg::init |
( |
| ) |
|
Initializes the data structures to communicate with XCom the application injected configuration options.
◆ set_identity()
bool Gcs_xcom_app_cfg::set_identity |
( |
node_address * |
identity | ) |
|
Configures XCom with its unique instance identifier, i.e.
its (address, incarnation) pair.
Takes ownership of identity
.
- Parameters
-
identity | the unique identifier |
- Return values
-
true | if there was an error configuring XCom |
false | if configuration was successful |
◆ set_network_namespace_manager()
Sets the network namespace manager.
- Parameters
-
ns_mgr | a reference to a Network_namespace_manager implementation |
◆ set_poll_spin_loops()
void Gcs_xcom_app_cfg::set_poll_spin_loops |
( |
unsigned int |
loops | ) |
|
Configures how many loops to spin before blocking on the poll system call.
- Parameters
-
loops | the number of spins. |
◆ set_xcom_cache_size()
void Gcs_xcom_app_cfg::set_xcom_cache_size |
( |
uint64_t |
size | ) |
|
Configures the maximum size of the xcom cache.
- Parameters
-
size | the maximum size of the cache. |
The documentation for this class was generated from the following files: