libcaf  0.15.5
Public Types | Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
caf::io::broker_servant< Base, Handle, SysMsgType > Class Template Reference

Base class for scribe and doorman. More...

#include <broker_servant.hpp>

Inheritance diagram for caf::io::broker_servant< Base, Handle, SysMsgType >:
caf::io::doorman caf::io::scribe caf::io::network::doorman_impl caf::io::network::scribe_impl

Public Types

using handle_type = Handle

Public Member Functions

 broker_servant (handle_type x)
handle_type hdl () const
void halt ()
void trigger ()
void trigger (size_t num)
optional< size_t > activity_tokens () const

Protected Member Functions

void detach_from (abstract_broker *ptr) override
void invoke_mailbox_element_impl (execution_unit *ctx, mailbox_element &x)
bool invoke_mailbox_element (execution_unit *ctx)
SysMsgType & msg ()

Protected Attributes

handle_type hdl_
mailbox_element_vals< SysMsgType > value_
optional< size_t > activity_tokens_

Detailed Description

template<class Base, class Handle, class SysMsgType>
class caf::io::broker_servant< Base, Handle, SysMsgType >

Base class for scribe and doorman.

The documentation for this class was generated from the following file: