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> 35 class ThreadCollector;
37 class NetworkAcceptorThread;
39 namespace firevision {
41 class 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_;
virtual void loop()
Code to execute in the thread.
FireVision FUSE protocol server.
void connection_died(FuseServerClientThread *client)
Connection died.
Fawkes library namespace.
Thread class encapsulation of pthreads.
TCP stream socket over IP.
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.
FUSE Server Client Thread.
Interface for handling incoming connections.
virtual void add_connection(fawkes::StreamSocket *s)
Add an incoming connection.
virtual ~FuseServer()
Destructor.