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
a287b288
Commit
a287b288
authored
Apr 19, 2018
by
Joseph Noir
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Make automatic connectivity the default
parent
eefbae4b
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
5 additions
and
2 deletions
+5
-2
libcaf_core/src/actor_system_config.cpp
libcaf_core/src/actor_system_config.cpp
+1
-1
libcaf_io/caf/io/basp/instance.hpp
libcaf_io/caf/io/basp/instance.hpp
+0
-1
libcaf_io/src/abstract_broker.cpp
libcaf_io/src/abstract_broker.cpp
+1
-0
libcaf_io/test/remote_actor.cpp
libcaf_io/test/remote_actor.cpp
+2
-0
libcaf_io/test/remote_actor_udp.cpp
libcaf_io/test/remote_actor_udp.cpp
+1
-0
No files found.
libcaf_core/src/actor_system_config.cpp
View file @
a287b288
...
@@ -133,7 +133,7 @@ actor_system_config::actor_system_config()
...
@@ -133,7 +133,7 @@ actor_system_config::actor_system_config()
logger_verbosity
=
atom
(
"trace"
);
logger_verbosity
=
atom
(
"trace"
);
logger_inline_output
=
false
;
logger_inline_output
=
false
;
middleman_network_backend
=
atom
(
"default"
);
middleman_network_backend
=
atom
(
"default"
);
middleman_enable_automatic_connections
=
fals
e
;
middleman_enable_automatic_connections
=
tru
e
;
middleman_max_consecutive_reads
=
50
;
middleman_max_consecutive_reads
=
50
;
middleman_heartbeat_interval
=
0
;
middleman_heartbeat_interval
=
0
;
middleman_detach_utility_actors
=
true
;
middleman_detach_utility_actors
=
true
;
...
...
libcaf_io/caf/io/basp/instance.hpp
View file @
a287b288
...
@@ -349,7 +349,6 @@ public:
...
@@ -349,7 +349,6 @@ public:
auto
config_server
=
system
().
registry
().
get
(
atom
(
"ConfigServ"
));
auto
config_server
=
system
().
registry
().
get
(
atom
(
"ConfigServ"
));
anon_send
(
actor_cast
<
actor
>
(
config_server
),
put_atom
::
value
,
anon_send
(
actor_cast
<
actor
>
(
config_server
),
put_atom
::
value
,
to_string
(
hdr
.
source_node
),
make_message
(
addrs
));
to_string
(
hdr
.
source_node
),
make_message
(
addrs
));
// TODO: Add addresses to share with other nodes?
// Write handshake as client in response.
// Write handshake as client in response.
if
(
tcp_based
)
if
(
tcp_based
)
write_client_handshake
(
ctx
,
callee_
.
get_buffer
(
hdl
),
hdr
.
source_node
);
write_client_handshake
(
ctx
,
callee_
.
get_buffer
(
hdl
),
hdr
.
source_node
);
...
...
libcaf_io/src/abstract_broker.cpp
View file @
a287b288
...
@@ -211,6 +211,7 @@ void abstract_broker::add_datagram_servant(datagram_servant_ptr ptr) {
...
@@ -211,6 +211,7 @@ void abstract_broker::add_datagram_servant(datagram_servant_ptr ptr) {
ptr
->
set_parent
(
this
);
ptr
->
set_parent
(
this
);
auto
hdls
=
ptr
->
hdls
();
auto
hdls
=
ptr
->
hdls
();
launch_servant
(
ptr
);
launch_servant
(
ptr
);
add_hdl_for_datagram_servant
(
ptr
,
ptr
->
hdl
());
for
(
auto
&
hdl
:
hdls
)
for
(
auto
&
hdl
:
hdls
)
add_hdl_for_datagram_servant
(
ptr
,
hdl
);
add_hdl_for_datagram_servant
(
ptr
,
hdl
);
}
}
...
...
libcaf_io/test/remote_actor.cpp
View file @
a287b288
...
@@ -39,6 +39,8 @@ class config : public actor_system_config {
...
@@ -39,6 +39,8 @@ class config : public actor_system_config {
public:
public:
config
()
{
config
()
{
load
<
io
::
middleman
>
();
load
<
io
::
middleman
>
();
set
(
"middleman.enable-tcp"
,
true
);
set
(
"middleman.enable-udp"
,
false
);
add_message_type
<
std
::
vector
<
int
>>
(
"std::vector<int>"
);
add_message_type
<
std
::
vector
<
int
>>
(
"std::vector<int>"
);
actor_system_config
::
parse
(
test
::
engine
::
argc
(),
actor_system_config
::
parse
(
test
::
engine
::
argc
(),
test
::
engine
::
argv
());
test
::
engine
::
argv
());
...
...
libcaf_io/test/remote_actor_udp.cpp
View file @
a287b288
...
@@ -39,6 +39,7 @@ class config : public actor_system_config {
...
@@ -39,6 +39,7 @@ class config : public actor_system_config {
public:
public:
config
()
{
config
()
{
load
<
io
::
middleman
>
();
load
<
io
::
middleman
>
();
set
(
"middleman.enable-tcp"
,
false
);
set
(
"middleman.enable-udp"
,
true
);
set
(
"middleman.enable-udp"
,
true
);
add_message_type
<
std
::
vector
<
int
>>
(
"std::vector<int>"
);
add_message_type
<
std
::
vector
<
int
>>
(
"std::vector<int>"
);
actor_system_config
::
parse
(
test
::
engine
::
argc
(),
actor_system_config
::
parse
(
test
::
engine
::
argc
(),
...
...
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