24#ifndef _FIREVISION_FVUTILS_NET_FUSE_SERVER_H_
25#define _FIREVISION_FVUTILS_NET_FUSE_SERVER_H_
27#include <core/threading/thread.h>
28#include <core/utils/lock_list.h>
29#include <netcomm/utils/incoming_connection_handler.h>
37class NetworkAcceptorThread;
41class FuseServerClientThread;
48 const std::string & listen_ipv4,
49 const std::string & listen_ipv6,
50 unsigned short int port,
60 std::vector<fawkes::NetworkAcceptorThread *> acceptor_threads_;
Interface for handling incoming connections.
TCP stream socket over IP.
Thread class encapsulation of pthreads.
FUSE Server Client Thread.
FireVision FUSE protocol server.
virtual void add_connection(fawkes::StreamSocket *s) noexcept
Add an incoming connection.
virtual void loop()
Code to execute in the thread.
FuseServer(bool enable_ipv4, bool enable_ipv6, const std::string &listen_ipv4, const std::string &listen_ipv6, unsigned short int port, fawkes::ThreadCollector *collector=0)
Constructor.
void connection_died(FuseServerClientThread *client) noexcept
Connection died.
virtual ~FuseServer()
Destructor.
Fawkes library namespace.