C++ Actor Framework 1.0.0
Loading...
Searching...
No Matches
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 (scheduler *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 (scheduler *ctx, mailbox_element &x)
 
bool invoke_mailbox_element (scheduler *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: