You are here: A Quick Introduction > Building and Running a Request-Reply Example

Building and Running a Request-Reply Example

This section describes the Request-Reply communication pattern, which is only available with the RTI Connext DDS Professional, Evaluation, and Basic package types. It is not available with the Core package type.

 

The section on Requesters and Repliers contains an introduction to the Connext DDS Request-Reply API. More detailed information is available in the User's Manual (see Part 4: Request-Reply Communication) and in the API Reference HTML documentation (open <NDDSHOME>/README.html and select a programming language; then select Modules, RTI Connext DDS Request-Reply API Reference). See A Guide to the Provided Documentation.

RTI Connext DDS provides the libraries that you will need when compiling an application that uses the Request-Reply API.

To set up your environment follow the same instructions in Step 1: Set Up the Environment.

By default, examples are copied into your home directory the first time you run RTI Launcher or any script in <NDDSHOME>/bin. This document refers to the location of the copied examples as <path to examples>.

Wherever you see <path to examples>, replace it with the appropriate path.

Default path to the examples:

Note: You can specify a different location for rti_workspace. You can also specify that you do not want the examples copied to the workspace.

The Request-Reply examples are:

To compile the examples, follow the instructions in Step 2: Compile the Hello World Program. Similar makefiles for UNIX-based systems and scripts for Java and Visual Studio projects are provided in these examples. Instructions for running the examples are in READ_ME.txt in the example directories. See the instructions in each example’s README_ME.txt file.

© 2015 RTI