RTI Connext Modern C++ API
Version 6.1.2
|
<<reference-type>> Provides the execution environment for one or more ServiceEndpoint. More...
#include <dds/rpc/Server.hpp>
Public Member Functions | |
Server () | |
Creates a new server with default ServerParams. More... | |
Server (const ServerParams ¶ms) | |
Creates a new server with the specified ServerParams. More... | |
void | run () |
Holds the execution of the current thread. More... | |
void | run (const dds::core::Duration &max_wait) |
Holds the execution of the current thread for the specified amount of time. More... | |
void | close () |
Forces the destruction of this entity. More... | |
<<reference-type>> Provides the execution environment for one or more ServiceEndpoint.
|
inline |
Creates a new server with default ServerParams.
|
inlineexplicit |
Creates a new server with the specified ServerParams.
|
inline |
Holds the execution of the current thread.
Calling this function is optional. A Server manages a thread pool that runs as soon as a ServiceEndpoint is attached.
|
inline |
Holds the execution of the current thread for the specified amount of time.
Calling this function is optional. A Server manages a thread pool that runs as soon as a ServiceEndpoint is attached.
max_wait | The time to sleep |
|
inline |
Forces the destruction of this entity.
If run() is currently blocked on another thread, close() unblocks it.
Any operation after close() throws dds::core::AlreadyClosedError