C++ Actor Framework 1.0.0
Loading...
Searching...
No Matches
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::datagram_servant caf::io::doorman caf::io::scribe caf::io::network::datagram_servant_impl 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)
 
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: