actor-framework
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:
Inheritance graph
[legend]
Collaboration diagram for caf::io::doorman:
Collaboration graph
[legend]

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.


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