|
Adaptyst
A comprehensive and architecture-agnostic performance analysis tool
|
#include <socket.hpp>
Public Member Functions | |
| virtual std::unique_ptr< Acceptor > | make_acceptor (int max_accepted)=0 |
| virtual std::string | get_type ()=0 |
An Acceptor factory.
|
pure virtual |
Gets the string describing the connection type of the acceptor (e.g. TCP).
Implemented in adaptyst::TCPAcceptor::Factory.
|
pure virtual |
Makes a new Acceptor-derived object.
| max_accepted | A maximum number of connections that the acceptor can accept during its lifetime. Use UNLIMITED_ACCEPTED for no limit. |
Implemented in adaptyst::TCPAcceptor::Factory.