class listener
More...
#include <listener.hpp>
|
|
virtual void | inherited_run () override |
| |
class listener
listen to the defined TCP port for new proto_connexions. Upon new proto_connexion, it builds proto_connexion objects and assign it to a new server object that will manage incoming request on this proto_connexion accordingly
◆ listener() [1/2]
- Parameters
-
| log | where to send reports, used but also passed to the generated server objects |
| auth | where to request for authentications (passed to generated server objects) |
| ciphering | if emtpy, a connexion object is provided to the generated server objects else a ssl_connexion is passed instead |
| pool | the server_pool which will create and manage servers objects for us |
| port | listen on localhost IPv4 or IPv6 |
◆ listener() [2/2]
- Parameters
-
| log | where to send reports, used but also passed to the generated server objects |
| auth | where to request for authentications (passed to generated server objects) |
| ciphering | if emtpy, a connexion object is provided to the generated server objects else a ssl_connexion is passed instead |
| pool | the server_pool which will create and manage servers objects for us |
| ip | interface to listen on |
| port | port to listen on |
The documentation for this class was generated from the following files: