File tree Expand file tree Collapse file tree 2 files changed +6
-6
lines changed
udp_socket_adapter_dynamic Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Original file line number Diff line number Diff line change 1- # Example Code: Routing Service C++11 Socket Adapter
1+ # Example Code: Routing Service C++11 Socket Adapter using Dynamic Data
22
33## Example Description
44
@@ -170,13 +170,13 @@ RTI Routing Service 7.3.0 executing (with configuration=DDSToSocketAdapter)
170170You can configure a data-diode scenario by using two Routing Services instances;
171171- One using ** DDSToSocketAdapter** configuration to publish DDS data over a one direction UDP socket
172172- The other using ** SocketAdapterToDDS** configuration to convert back to DDS samples
173-
173+ ```
174174 ┌───────────┐ ┌─────────────┐ ┌─────────────┐ ┌───────────┐
175175 │ Connext │ │ Routing │ ┌────────────────┐ │ Routing │ │ Connext │
176176 │ App ├─►│ Service ├───►│ UDP DATA DIODE ├──►│ Service ├─►│ App │
177177 │ │ │ DDS TO UDP │ └────────────────┘ │ UDP TO DDS │ │ │
178178 └───────────┘ └─────────────┘ └─────────────┘ └───────────┘
179-
179+ ```
180180To run this example in a local machine:
181181``` bash
182182$export RTI_LD_LIBRARY_PATH=~ /$NDDSHOME /lib/$CONNEXT_ARCH :~ /udp_socket_adapter_dynamic/build/
Original file line number Diff line number Diff line change @@ -186,13 +186,13 @@ python3 test/read_shape_from_socket.py 10203
186186You can configure a data-diode scenario by using two Routing Services instances;
187187- One using ** DDSToSocketAdapter** configuration to publish DDS data over a one direction UDP socket
188188- The other using ** SocketAdapterToDDS** configuration to convert back to DDS samples
189-
189+ ```
190190 ┌───────────┐ ┌─────────────┐ ┌─────────────┐ ┌───────────┐
191191 │ Connext │ │ Routing │ ┌────────────────┐ │ Routing │ │ Connext │
192192 │ App ├─►│ Service ├───►│ UDP DATA DIODE ├──►│ Service ├─►│ App │
193193 │ │ │ DDS TO UDP │ └────────────────┘ │ UDP TO DDS │ │ │
194194 └───────────┘ └─────────────┘ └─────────────┘ └───────────┘
195-
195+ ```
196196To run this example in a local machine:
197197``` bash
198198$export RTI_LD_LIBRARY_PATH=~ /$NDDSHOME /lib/$CONNEXT_ARCH :~ /udp_socket_adapter_typed/build/
@@ -218,7 +218,7 @@ $ $NDDSHOME/bin/rtishapesdemo -domainId 0
218218``` bash
219219$ $NDDSHOME /bin/rtishapesdemo -domainId 1
220220```
221-
221+ Then start publishing and subscribing to the Square topic.
222222You should be able to see red squares in the subscriber application.
223223Keep in mind the shape color has been overwritten in the adapter for showcasing purposes.
224224
You can’t perform that action at this time.
0 commit comments