C++ Actor Framework 0.19
Loading...
Searching...
No Matches
Public Member Functions | Protected Member Functions | List of all members
caf::io::doorman Class Referenceabstract

Manages incoming connections. More...

#include <doorman.hpp>

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

Public Member Functions

 doorman (accept_handle acc_hdl)
 
bool new_connection (execution_unit *ctx, connection_handle x)
 
virtual void launch ()=0
 Starts listening on the selected port.
 
- Public Member Functions inherited from caf::io::broker_servant< Base, Handle, SysMsgType >
 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

message detach_message () override
 
- Protected Member Functions inherited from caf::io::broker_servant< Base, Handle, SysMsgType >
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 ()
 

Additional Inherited Members

- Public Types inherited from caf::io::broker_servant< Base, Handle, SysMsgType >
using handle_type = Handle
 
- Protected Attributes inherited from caf::io::broker_servant< Base, Handle, SysMsgType >
handle_type hdl_
 
mailbox_element value_
 
std::optional< size_t > activity_tokens_
 

Detailed Description

Manages incoming connections.

Member Function Documentation

◆ launch()

virtual void caf::io::doorman::launch ( )
pure virtual

Starts listening on the selected port.

Implemented in caf::io::network::doorman_impl.


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