Skip to content

Commit ec7e192

Browse files
committed
Refs #23701. Update readme.
Signed-off-by: Miguel Company <[email protected]>
1 parent 191a1db commit ec7e192

File tree

1 file changed

+1
-26
lines changed

1 file changed

+1
-26
lines changed

examples/cpp/rpc/README.md

Lines changed: 1 addition & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ The *RPC over DDS* example shows how to create a service oriented architecture u
44
The RPC architecture is based on the client-server model.
55
The client sends a request to the server, and the server sends one or more responses (replies) back to the client.
66
[eProsima FastDDS-Gen](https://github.com/eProsima/Fast-DDS-Gen) tool allows the generation of source code for a RPC over DDS application from an IDL file.
7-
The IDL file must define and interface with the operations that can be called on the client and executed by the server.
7+
The IDL file must define an interface with the operations that can be called on the client and executed by the server.
88
These operations are specified using the concept of interfaces defined in the OMG IDL specification.
99

1010
Please refer to the [RPC over DDS](https://fast-dds.docs.eprosima.com/en/latest/fastdds/rpc_dds/rpc_dds_intro.html) section in the Fast DDS documentation for further information on this topic.
@@ -31,33 +31,8 @@ This *rpc* example shows the two operating modes of *RPC* over DDS:
3131
3232
-r, --representation-limits Computes the representation
3333
limits of a 32-bit integer
34-
35-
-f <num>, --fibonacci <num> Returns a feed of results
36-
with the <num> first elements
37-
of the Fibonacci sequence
3834
```
3935
40-
* Streaming operations where data is exchanged between a client and a server in a continuous stream of messages, rather than a single, discrete request-response exchange thanks to the `@feed` annotation in the IDL files.
41-
Please refer to the [RPC documentation](https://fast-dds.docs.eprosima.com/en/latest/fastdds/rpc_dds/data_streaming/rpc_data_streaming_intro.html) for more information about this feature.
42-
In this case, the clients can take one of the following operations:
43-
44-
```
45-
--sum-all Sum all the values provided
46-
in the input feed
47-
48-
--accumulator Return a feed of results
49-
with the sum of all received
50-
values from an input feed
51-
52-
--filter <filter_kind> Return a feed of results
53-
with the values that match
54-
the input filter kind
55-
[<filter_kind> = 0, 1, 2]
56-
[0 = EVEN,
57-
1 = ODD,
58-
2 = PRIME]
59-
```
60-
6136
## Run the example
6237
6338
To launch this example, two different terminals are required.

0 commit comments

Comments
 (0)