RTI Connext Modern C++ API
Version 6.1.2
|
Remote Procedure call (RPC) communication pattern. More...
Modules | |
Client-side API | |
Part of the RPC API that relates to the client. | |
Server-side API | |
Part of the RPC API that relates to the Server and ServiceEndpoint. | |
Classes | |
class | rpc_example::RobotControl |
The synchronous interface generated from the RobotControl IDL service. More... | |
class | rpc_example::RobotControlAsync |
The asynchronous interface derived from the RobotControl service. More... | |
Remote Procedure call (RPC) communication pattern.
With RPC you can write client and service applications that make and process function calls according to interfaces defined in IDL. The clients and the services communicate using DDS topics.
The RPC API requires C++11 support.
The classes involved in RPC include types generated by rtiddsgen
and supporting types in the dds::rpc
and rti::rpc
namespaces. This API reference assumes that an example IDL service interface is defined as follows:
From this IDL the following types are generated:
In addition, the class dds::rpc::Server provides the execution context for one or more services.