You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: examples/cpp/rpc/README.md
+1-26Lines changed: 1 addition & 26 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -4,7 +4,7 @@ The *RPC over DDS* example shows how to create a service oriented architecture u
4
4
The RPC architecture is based on the client-server model.
5
5
The client sends a request to the server, and the server sends one or more responses (replies) back to the client.
6
6
[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.
8
8
These operations are specified using the concept of interfaces defined in the OMG IDL specification.
9
9
10
10
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:
31
31
32
32
-r, --representation-limits Computes the representation
33
33
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
38
34
```
39
35
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
-
61
36
## Run the example
62
37
63
38
To launch this example, two different terminals are required.
0 commit comments