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
6e89231d
Commit
6e89231d
authored
Feb 18, 2017
by
Dominik Charousset
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Make multiplexer accessible through self pointer
parent
1e003f1e
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
libcaf_io/caf/io/abstract_broker.hpp
libcaf_io/caf/io/abstract_broker.hpp
+3
-3
No files found.
libcaf_io/caf/io/abstract_broker.hpp
View file @
6e89231d
...
@@ -257,6 +257,9 @@ public:
...
@@ -257,6 +257,9 @@ public:
/// Returns all handles of all `scribe` instances attached to this broker.
/// Returns all handles of all `scribe` instances attached to this broker.
std
::
vector
<
connection_handle
>
connections
()
const
;
std
::
vector
<
connection_handle
>
connections
()
const
;
/// Returns the `multiplexer` running this broker.
network
::
multiplexer
&
backend
();
protected:
protected:
void
init_broker
();
void
init_broker
();
...
@@ -287,9 +290,6 @@ protected:
...
@@ -287,9 +290,6 @@ protected:
/// @endcond
/// @endcond
/// Returns the `multiplexer` running this broker.
network
::
multiplexer
&
backend
();
/// Returns a `scribe` or `doorman` identified by `hdl`.
/// Returns a `scribe` or `doorman` identified by `hdl`.
template
<
class
Handle
>
template
<
class
Handle
>
auto
by_id
(
Handle
hdl
)
->
optional
<
decltype
(
*
ptr_of
(
hdl
))
>
{
auto
by_id
(
Handle
hdl
)
->
optional
<
decltype
(
*
ptr_of
(
hdl
))
>
{
...
...
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