libcaf  0.15.3
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

Public Member Functions

 broker_servant (abstract_broker *ptr, Handle x)
 
Handle 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 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: