iceoryx_doc
1.0.1
|
The ServerPortRouDi provides the API for accessing a server port from the RouDi middleware daemon side. The server port is divided in the three parts ServerPortData, ServerPortRouDi and ServerPortUser. The ServerPortRouDi provides service discovery functionality that is based on CaPro messages. With this API the dynamic connections between clients and servers ports can be established. More...
#include <server_port_roudi.hpp>
Public Types | |
using | MemberType_t = ServerPortData |
![]() | |
using | MemberType_t = BasePortData |
Public Member Functions | |
ServerPortRouDi (cxx::not_null< MemberType_t *const > serverPortDataPtr) noexcept | |
ServerPortRouDi (const ServerPortRouDi &other)=delete | |
ServerPortRouDi & | operator= (const ServerPortRouDi &)=delete |
ServerPortRouDi (ServerPortRouDi &&rhs)=default | |
ServerPortRouDi & | operator= (ServerPortRouDi &&rhs)=default |
cxx::optional< capro::CaproMessage > | tryGetCaProMessage () noexcept |
get an optional CaPro message that changes the offer state of the server More... | |
cxx::optional< capro::CaproMessage > | dispatchCaProMessageAndGetPossibleResponse (const capro::CaproMessage &caProMessage) noexcept |
dispatch a CaPro message to the server for processing More... | |
void | releaseAllChunks () noexcept |
cleanup the server and release all the chunks it currently holds Caution: Contract is that user process is no more running when cleanup is called | |
![]() | |
BasePort (MemberType_t *const basePortDataPtr) noexcept | |
BasePort (const BasePort &other)=delete | |
BasePort & | operator= (const BasePort &)=delete |
BasePort (BasePort &&) noexcept | |
BasePort & | operator= (BasePort &&) noexcept |
operator bool () const noexcept | |
a port can be constructed from a nullptr, additionally it also can be moved and in these cases the member methods would work on a nullptr. to circumvent this problem More... | |
capro::ServiceDescription | getCaProServiceDescription () const noexcept |
Reads Type of actual CaPro Port (publisher/subscriber...) More... | |
RuntimeName_t | getRuntimeName () const noexcept |
Gets name of the application's runtime for the active port. More... | |
UniquePortId | getUniqueID () const noexcept |
Gets Id of the active port. More... | |
NodeName_t | getNodeName () const noexcept |
returns node name for the active port More... | |
void | destroy () noexcept |
Indicate that this port can be destroyed. | |
bool | toBeDestroyed () const noexcept |
Checks whether port can be destroyed. More... | |
Additional Inherited Members | |
![]() | |
const MemberType_t * | getMembers () const noexcept |
MemberType_t * | getMembers () noexcept |
The ServerPortRouDi provides the API for accessing a server port from the RouDi middleware daemon side. The server port is divided in the three parts ServerPortData, ServerPortRouDi and ServerPortUser. The ServerPortRouDi provides service discovery functionality that is based on CaPro messages. With this API the dynamic connections between clients and servers ports can be established.
|
noexcept |
dispatch a CaPro message to the server for processing
[in] | caProMessage | to process |
|
noexcept |
get an optional CaPro message that changes the offer state of the server