|
|
# Preliminaries
|
|
|
---------------
|
|
|
|
|
|
The Java and C++ examples can be run using either *jzmq* or *jeromq*.
|
|
|
|
|
|
Open a shell where you will run the *Cameo* server.
|
|
|
If necessary, define the variable *LD_LIBRARY_PATH* so that the C++ programs will use the expected *Cameo* library.
|
|
|
|
|
|
# Examples
|
|
|
----------
|
|
|
|
|
|
Go to the *cameo-tests* directory:
|
|
|
```
|
|
|
$ cd <cameo-tests path>
|
|
|
```
|
|
|
|
|
|
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
|
|
|
```
|
|
|
To run the examples, configure your environment as described in the setup section of [Linux tests](linux-tests).
|
|
|
|
|
|
|
|
|
Requester/Responder
|
... | ... | |