RTI Connext Modern C++ API  Version 7.0.0

<<value-type>> The parameters used to configure a Server More...

#include <dds/rpc/ServerParams.hpp>

Public Member Functions

void thread_pool_size (int32_t size)
 Configures the number of threads of a Server thread pool. More...
 
int32_t thread_pool_size () const
 Returns the thread pool size. More...
 
rti::core::cond::AsyncWaitSetPropertyasync_waitset_property ()
 Allows fine-tuning the internal AsyncWaitSet used to process function calls. More...
 
const rti::core::cond::AsyncWaitSetPropertyasync_waitset_property () const
 Returns the AsyncWaitSetProperty by const reference. More...
 

Detailed Description

<<value-type>> The parameters used to configure a Server

Member Function Documentation

◆ thread_pool_size() [1/2]

void thread_pool_size ( int32_t  size)

Configures the number of threads of a Server thread pool.

Note
This function is an extension, it must be called via this->extensions()

By default a server uses only one thread, processing all function calls sequentially. Incresing the pool size provides more parallelism.

◆ thread_pool_size() [2/2]

int32_t thread_pool_size ( ) const

Returns the thread pool size.

Note
This function is an extension, it must be called via this->extensions()

◆ async_waitset_property() [1/2]

rti::core::cond::AsyncWaitSetProperty & async_waitset_property ( )

Allows fine-tuning the internal AsyncWaitSet used to process function calls.

Note
This function is an extension, it must be called via this->extensions()

◆ async_waitset_property() [2/2]

const rti::core::cond::AsyncWaitSetProperty & async_waitset_property ( ) const

Returns the AsyncWaitSetProperty by const reference.

Note
This function is an extension, it must be called via this->extensions()