Commit 6e89231d authored by Dominik Charousset's avatar Dominik Charousset

Make multiplexer accessible through self pointer

parent 1e003f1e
......@@ -257,6 +257,9 @@ public:
/// Returns all handles of all `scribe` instances attached to this broker.
std::vector<connection_handle> connections() const;
/// Returns the `multiplexer` running this broker.
network::multiplexer& backend();
protected:
void init_broker();
......@@ -287,9 +290,6 @@ protected:
/// @endcond
/// Returns the `multiplexer` running this broker.
network::multiplexer& backend();
/// Returns a `scribe` or `doorman` identified by `hdl`.
template <class Handle>
auto by_id(Handle hdl) -> optional<decltype(*ptr_of(hdl))> {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment