|
|
To run the examples, configure your environment as described in the setup section of [Linux tests](linux-tests).
|
|
|
|
|
|
|
|
|
Requester/Responder
|
|
|
-----
|
|
|
# Requester/Responder
|
|
|
|
|
|
## Java
|
|
|
|
|
|
The requester/responder in Java can be tested. First start the Cameo server:
|
|
|
|
... | ... | @@ -17,6 +18,8 @@ Execute a requester in a new shell: |
|
|
$ cmo -p 10000 exec requester my-request 10
|
|
|
|
|
|
|
|
|
## C++
|
|
|
|
|
|
The requester/responder in C++ can be tested. First start the Cameo server:
|
|
|
|
|
|
$ java fr.ill.ics.cameo.server.Server cpp/config/examples.xml
|
... | ... | @@ -33,8 +36,9 @@ Execute the requester with the Java responder: |
|
|
|
|
|
$ cmo -p 11000 exec requester my-request 10 tcp://localhost:10000
|
|
|
|
|
|
Publisher/Subscriber
|
|
|
-----
|
|
|
# Publisher/Subscriber
|
|
|
|
|
|
## Java
|
|
|
|
|
|
The publisher/subscriber in Java can be tested. First start the Cameo server:
|
|
|
|
... | ... | @@ -48,6 +52,8 @@ Execute a subscriber in a new shell: |
|
|
|
|
|
$ cmo -p 10000 exec subscriber
|
|
|
|
|
|
## C++
|
|
|
|
|
|
The publisher/subscriber in C++ can be tested. First start the Cameo server:
|
|
|
|
|
|
$ java fr.ill.ics.cameo.server.Server cpp/config/examples.xml
|
... | ... | |