... | ... | @@ -67,15 +67,15 @@ $ java fr.ill.ics.cameo.server.Server examples/cpp/config.xml --log-console |
|
|
```
|
|
|
Then start the responder in a new shell:
|
|
|
```
|
|
|
$ cmo -p 11000 exec responder
|
|
|
$ cmo -p 10000 exec responder
|
|
|
```
|
|
|
Execute a requester in a new shell:
|
|
|
```
|
|
|
$ cmo -p 11000 exec requester my-request 10
|
|
|
$ cmo -p 10000 exec requester my-request 10
|
|
|
```
|
|
|
Execute the requester with the Java responder:
|
|
|
```
|
|
|
$ cmo -p 11000 exec requester my-request 10 tcp://localhost:10000
|
|
|
$ cmo -p 10000 exec requester my-request 10 tcp://localhost:10000
|
|
|
```
|
|
|
|
|
|
## Python
|
... | ... | @@ -86,11 +86,11 @@ $ java fr.ill.ics.cameo.server.Server examples/python/config.xml --log-console |
|
|
```
|
|
|
In a shell, start the *responderpy* test:
|
|
|
```
|
|
|
$ cmo -p 12000 exec responderpy
|
|
|
$ cmo -p 10000 exec responderpy
|
|
|
```
|
|
|
In a shell, start the *requesterpy* application:
|
|
|
```
|
|
|
$ cmo -p 12000 exec requesterpy 1000
|
|
|
$ cmo -p 10000 exec requesterpy 1000
|
|
|
```
|
|
|
|
|
|
|
... | ... | @@ -119,15 +119,15 @@ $ java fr.ill.ics.cameo.server.Server examples/cpp/config.xml --log-console |
|
|
```
|
|
|
Then start the publisher in a new shell:
|
|
|
```
|
|
|
$ cmo -p 11000 exec publisher
|
|
|
$ cmo -p 10000 exec publisher
|
|
|
```
|
|
|
Execute a subscriber in a new shell:
|
|
|
```
|
|
|
$ cmo -p 11000 exec subscriber
|
|
|
$ cmo -p 10000 exec subscriber
|
|
|
```
|
|
|
Execute the requester with the Java publisher:
|
|
|
```
|
|
|
$ cmo -p 11000 exec subscriber tcp://localhost:10000
|
|
|
$ cmo -p 10000 exec subscriber tcp://localhost:10000
|
|
|
```
|
|
|
|
|
|
## Python
|
... | ... | @@ -138,9 +138,9 @@ $ java fr.ill.ics.cameo.server.Server examples/python/config.xml --log-console |
|
|
```
|
|
|
In a shell, start the *publisherpy* test:
|
|
|
```
|
|
|
$ cmo -p 12000 exec publisherpy
|
|
|
$ cmo -p 10000 exec publisherpy
|
|
|
```
|
|
|
In a shell, start the *subscriberpy* application:
|
|
|
```
|
|
|
$ cmo -p 12000 exec subscriberpy
|
|
|
$ cmo -p 10000 exec subscriberpy
|
|
|
``` |
|
|
\ No newline at end of file |