|
C++ Actor Framework 0.19
|
Accepts or rejects incoming connection requests. More...
#include <acceptor.hpp>
Public Types | |
| template<class Trait > | |
| using | server_factory_type = server_factory< Trait, Ts... > |
Public Member Functions | |
| acceptor (const http::request_header &hdr) | |
| virtual void | accept (Ts... xs)=0 |
| void | reject (error reason) |
| bool | accepted () const noexcept |
| error && | reject_reason () &&noexcept |
| const error & | reject_reason () const &noexcept |
| const http::request_header & | header () const noexcept |
Protected Attributes | |
| const http::request_header & | hdr_ |
| bool | accepted_ = false |
| error | reject_reason_ |
Accepts or rejects incoming connection requests.
| Ts | Denotes the types for the worker handshake. |