WiThrottle server object.
More...
#include <Server.hxx>
WiThrottle server object.
Definition at line 49 of file Server.hxx.
◆ Server()
| withrottle::Server::Server |
( |
const char * |
name, |
|
|
int |
port, |
|
|
openlcb::Node * |
node |
|
) |
| |
|
inline |
Constructor.
- Parameters
-
| name | name of the bus |
| port | TCP port to listen for connections on, -1 for default. |
| node | reference to the OpenLCB Node that proxies our bus |
Definition at line 57 of file Server.hxx.
◆ ~Server()
| withrottle::Server::~Server |
( |
| ) |
|
|
inline |
◆ on_new_connection()
| void withrottle::Server::on_new_connection |
( |
int |
fd | ) |
|
|
inlineprivate |
A new throttle connection is made.
- Parameters
-
Definition at line 217 of file Server.hxx.
◆ start()
| void withrottle::Server::start |
( |
| ) |
|
|
inline |
◆ ThrottleFlow
◆ executor
| Executor<1> withrottle::Server::executor |
|
private |
The executor that will run the WiThrottle flows.
Definition at line 87 of file Server.hxx.
◆ listener
listen socket for new connections
Definition at line 93 of file Server.hxx.
◆ node
The documentation for this class was generated from the following file: