... | ... | @@ -19,12 +19,21 @@ Set the *PATH* variable so that the C++ programs are found: |
|
|
$ export PATH=build:$PATH
|
|
|
```
|
|
|
|
|
|
Select *jzmq* **or** *jeromq*:
|
|
|
```
|
|
|
$ export CLASSPATH=jzmq/target/cameo-tests-jzmq-full.jar
|
|
|
```
|
|
|
```
|
|
|
$ export CLASSPATH=jeromq/target/cameo-tests-jeromq-full.jar
|
|
|
```
|
|
|
|
|
|
|
|
|
Requester/Responder
|
|
|
-----
|
|
|
|
|
|
The requester/responder in Java can be tested. First start the Cameo server with jzmq:
|
|
|
|
|
|
$ java -classpath cameo-tests-jzmq/target/cameo-tests-jzmq-full.jar fr.ill.ics.cameo.server.Server java/config/jzmq-examples.xml
|
|
|
$ java fr.ill.ics.cameo.server.Server java/config/jzmq-examples.xml
|
|
|
|
|
|
Then start the responder in a new shell:
|
|
|
|
... | ... | @@ -37,7 +46,7 @@ Execute a requester in a new shell: |
|
|
|
|
|
The requester/responder in C++ can be tested. First start the Cameo server with jzmq:
|
|
|
|
|
|
$ java -classpath cameo-tests-jzmq/target/cameo-tests-jzmq-full.jar fr.ill.ics.cameo.server.Server cpp/config/examples.xml
|
|
|
$ java fr.ill.ics.cameo.server.Server cpp/config/examples.xml
|
|
|
|
|
|
Then start the responder in a new shell:
|
|
|
|
... | ... | @@ -56,7 +65,7 @@ Publisher/Subscriber |
|
|
|
|
|
The publisher/subscriber in Java can be tested. First start the Cameo server with jzmq:
|
|
|
|
|
|
$ java -classpath cameo-tests-jzmq/target/cameo-tests-jzmq-full.jar fr.ill.ics.cameo.server.Server java/config/jzmq-examples.xml
|
|
|
$ java fr.ill.ics.cameo.server.Server java/config/jzmq-examples.xml
|
|
|
|
|
|
Then start the publisher in a new shell:
|
|
|
|
... | ... | @@ -68,7 +77,7 @@ Execute a subscriber in a new shell: |
|
|
|
|
|
The publisher/subscriber in C++ can be tested. First start the Cameo server with jzmq:
|
|
|
|
|
|
$ java -classpath cameo-tests-jzmq/target/cameo-tests-jzmq-full.jar fr.ill.ics.cameo.server.Server cpp/config/examples.xml
|
|
|
$ java fr.ill.ics.cameo.server.Server cpp/config/examples.xml
|
|
|
|
|
|
Then start the publisher in a new shell:
|
|
|
|
... | ... | |