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
a1e8e813
Commit
a1e8e813
authored
Jul 24, 2015
by
Dominik Charousset
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix access modifier for abstract_broker::scribe_
parent
91946b53
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
13 additions
and
11 deletions
+13
-11
libcaf_io/caf/io/abstract_broker.hpp
libcaf_io/caf/io/abstract_broker.hpp
+1
-2
libcaf_io/caf/io/broker.hpp
libcaf_io/caf/io/broker.hpp
+1
-1
libcaf_io/src/basp_broker.cpp
libcaf_io/src/basp_broker.cpp
+11
-8
No files found.
libcaf_io/caf/io/abstract_broker.hpp
View file @
a1e8e813
...
...
@@ -249,11 +249,10 @@ protected:
bool
invoke_message_from_cache
();
private:
scribe_map
scribes_
;
doorman_map
doormen_
;
middleman
&
mm_
;
detail
::
intrusive_partitioned_list
<
mailbox_element
,
detail
::
disposer
>
cache_
;
protected:
scribe_map
scribes_
;
};
}
// namespace io
...
...
libcaf_io/caf/io/broker.hpp
View file @
a1e8e813
...
...
@@ -52,7 +52,7 @@ public:
return
spawn_functor
(
nullptr
,
[
sptr
](
broker
*
forked
)
{
sptr
->
set_parent
(
forked
);
forked
->
scribes_
.
emplace
(
sptr
->
hdl
(),
sptr
);
forked
->
add_scribe
(
sptr
);
},
fun
,
hdl
,
std
::
forward
<
Ts
>
(
xs
)...);
}
...
...
libcaf_io/src/basp_broker.cpp
View file @
a1e8e813
...
...
@@ -241,14 +241,17 @@ void basp_broker_state::set_context(connection_handle hdl) {
auto
i
=
ctx
.
find
(
hdl
);
if
(
i
==
ctx
.
end
())
{
CAF_LOG_INFO
(
"create new BASP context for handle "
<<
hdl
.
id
());
i
=
ctx
.
emplace
(
hdl
,
connection_context
{
basp
::
await_header
,
basp
::
header
{
invalid_node_id
,
i
=
ctx
.
emplace
(
hdl
,
connection_context
{
basp
::
await_header
,
basp
::
header
{
basp
::
message_type
::
server_handshake
,
0
,
0
,
invalid_node_id
,
invalid_node_id
,
invalid_actor_id
,
invalid_actor_id
},
hdl
,
invalid_node_id
,
invalid_actor_id
,
invalid_actor_id
,
0
,
0
,
0
},
hdl
,
invalid_node_id
,
0
,
none
,
{}})
.
first
;
0
,
none
,
{}}).
first
;
}
this_context
=
&
i
->
second
;
}
...
...
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