libcaf  0.15.5
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)
 
void io_failure (execution_unit *ctx, network::operation op) override
 
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)
 
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_vals< SysMsgType > value_
 
optional< size_t > activity_tokens_
 

Detailed Description

Manages incoming connections.


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