C++ Actor Framework 1.0.0
|
Manages incoming connections. More...
#include <doorman.hpp>
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_ |
Manages incoming connections.
|
pure virtual |
Starts listening on the selected port.
Implemented in caf::io::network::doorman_impl.