actor-framework
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 >:
Inheritance graph
[legend]
Collaboration diagram for caf::io::broker_servant< Base, Handle, SysMsgType >:
Collaboration graph
[legend]

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)
 
std::optional< size_t > activity_tokens () const
 

Protected Member Functions

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

Protected Attributes

handle_type hdl_
 
mailbox_element value_
 
std::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: