![]() |
IRSOL
C++ code implementing socket server for interacting with Baumer camera.
|
Accepts and forwards incoming client connections to the session handler. More...
#include "irsol/server/client/session.hpp"
#include "irsol/types.hpp"
#include <atomic>
#include <functional>
#include <memory>
Go to the source code of this file.
Classes | |
class | irsol::server::internal::ClientSessionAcceptor |
Accepts incoming TCP connections and triggers a callback for each new client. More... | |
Namespaces | |
namespace | irsol |
namespace | irsol::server |
Core server features. TOBE DEFINED FURTHER. | |
namespace | irsol::server::internal |
Typedefs | |
using | irsol::server::internal::OnNewClientCallback_t = std::function< void(irsol::types::client_id_t, irsol::types::socket_t &&)> |
Callback function for handling new client connections. | |
Accepts and forwards incoming client connections to the session handler.
This header defines the irsol::server::internal::ClientSessionAcceptor class, responsible for listening on a TCP port and invoking a callback for each new client connection. Typically, this is used to bootstrap a client session when a connection is made.
Definition in file acceptor.hpp.