https://github.com/actor-framework/riac-demos
Example application to test the CAF probe, nexus and shell.
https://github.com/actor-framework/riac-demos
Last synced: 12 months ago
JSON representation
Example application to test the CAF probe, nexus and shell.
- Host: GitHub
- URL: https://github.com/actor-framework/riac-demos
- Owner: actor-framework
- Created: 2014-08-05T10:23:26.000Z (almost 12 years ago)
- Default Branch: master
- Last Pushed: 2015-08-03T21:19:03.000Z (almost 11 years ago)
- Last Synced: 2025-06-24T10:58:45.465Z (12 months ago)
- Language: C++
- Size: 158 KB
- Stars: 0
- Watchers: 8
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
Probe Examples
==============
Example application to test probe, nexus and shell. Requires libcaf with the components libcaf_riac, nexus and shell. Implemented examples so far:
* `probed_calculator`
* `ping_pong`
Build
-----
```
./configure
make
```
Start
-----
To start `probed_calculator`, you need to start a nexus fist.
It is included in CAF and per default located in the directory `build/bin`:
```
./build/bin/nexus
```
Next, start the `probed_calculator`:
```
./build/probed_calculator --server --port= --caf-nexus-host= --caf-nexus-port=
```
Usage
-----
You can start clients and also interact with the running system using CAF's shell. To start the calculator as client and add two numbers (e.g. 10 + 20), run:
```
./build/probed_calculator --host= --port= --caf-nexus-host= --caf-nexus-port= -x 10 -y 20
```
Dependencies
------------
* https://github.com/actor-framework/actor-framework
Please have a look in actor-frameworks [wiki](https://github.com/actor-framework/actor-framework/wiki).
With the following submodules:
* `libcaf_riac`
* `nexus`
* `shell`