Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
A
Actor Framework
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
cpp-libs
Actor Framework
Commits
01aef170
Commit
01aef170
authored
May 26, 2016
by
Dominik Charousset
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update example INI file and manual refs
parent
53feac8d
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
16 additions
and
12 deletions
+16
-12
examples/caf-application.ini
examples/caf-application.ini
+2
-0
examples/remoting/distributed_calculator.cpp
examples/remoting/distributed_calculator.cpp
+14
-12
No files found.
examples/caf-application.ini
View file @
01aef170
...
...
@@ -22,6 +22,8 @@ profiling-output-file="/dev/null"
enable-automatic-connections
=
false
; accepted alternative: 'asio' (only when compiling CAF with ASIO)
network-backend
=
'default'
; sets the maximum number of consecutive I/O reads per broker
max-consecutive-reads
=
50
; heartbeat message interval in ms (0 disables heartbeating)
heartbeat-interval
=
0
...
...
examples/remoting/distributed_calculator.cpp
View file @
01aef170
/******************************************************************************\
* This program is a distributed version of the math_actor example. *
* Client and server use a stateless request/response protocol and the client *
* is failure resilient by using a FIFO request queue. *
* The client auto-reconnects and also allows for server reconfiguration. *
* *
* Run server at port 4242: *
* - ./build/bin/distributed_math_actor -s -p 4242 *
* *
* Run client at the same host: *
* - ./build/bin/distributed_math_actor -c -p 4242 *
\ ******************************************************************************/
// This program is a distributed version of the math_actor example.
// Client and server use a stateless request/response protocol and the client
// is failure resilient by using a FIFO request queue.
// The client auto-reconnects and also allows for server reconfiguration.
//
// Run server at port 4242:
// - ./build/bin/distributed_math_actor -s -p 4242
//
// Run client at the same host:
// - ./build/bin/distributed_math_actor -c -p 4242
// This file is partially included in the manual, do not modify
// without updating the references in the *.tex files!
// Manual references: lines 254-266 (ConfiguringActorSystems.tex)
#include <array>
#include <vector>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment