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
8471f13f
Commit
8471f13f
authored
Mar 17, 2020
by
Dominik Charousset
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Integrate review feedback
parent
e22067f8
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
4 deletions
+4
-4
libcaf_core/caf/actor_system.hpp
libcaf_core/caf/actor_system.hpp
+2
-2
libcaf_io/src/io/basp_broker.cpp
libcaf_io/src/io/basp_broker.cpp
+2
-2
No files found.
libcaf_core/caf/actor_system.hpp
View file @
8471f13f
...
@@ -298,8 +298,8 @@ public:
...
@@ -298,8 +298,8 @@ public:
/// Send a `node_down_msg` to `observer` if this system loses connection to
/// Send a `node_down_msg` to `observer` if this system loses connection to
/// `node`.
/// `node`.
/// @note Calling this function *n* times causes the system to send
/// @note Calling this function *n* times causes the system to send
/// `node_down_msg` *n* times
. In order to not receive the messages, th
e
/// `node_down_msg` *n* times
to the observer. In order to not receiv
e
/// observer must call `demonitor` *n* times.
///
the messages, the
observer must call `demonitor` *n* times.
void
monitor
(
const
node_id
&
node
,
const
actor_addr
&
observer
);
void
monitor
(
const
node_id
&
node
,
const
actor_addr
&
observer
);
/// Removes `observer` from the list of actors that receive a `node_down_msg`
/// Removes `observer` from the list of actors that receive a `node_down_msg`
...
...
libcaf_io/src/io/basp_broker.cpp
View file @
8471f13f
...
@@ -623,8 +623,8 @@ void basp_broker::set_context(connection_handle hdl) {
...
@@ -623,8 +623,8 @@ void basp_broker::set_context(connection_handle hdl) {
void
basp_broker
::
connection_cleanup
(
connection_handle
hdl
,
sec
code
)
{
void
basp_broker
::
connection_cleanup
(
connection_handle
hdl
,
sec
code
)
{
CAF_LOG_TRACE
(
CAF_ARG
(
hdl
)
<<
CAF_ARG
(
code
));
CAF_LOG_TRACE
(
CAF_ARG
(
hdl
)
<<
CAF_ARG
(
code
));
// Remove handle from the routing table
and clean up any node-specific state
// Remove handle from the routing table
, notify all observers, and clean up
// we might still have.
//
any node-specific state
we might still have.
if
(
auto
nid
=
instance
.
tbl
().
erase_direct
(
hdl
))
{
if
(
auto
nid
=
instance
.
tbl
().
erase_direct
(
hdl
))
{
emit_node_down_msg
(
nid
,
code
);
emit_node_down_msg
(
nid
,
code
);
purge_state
(
nid
);
purge_state
(
nid
);
...
...
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