24 #ifndef __NETCOMM_UTILS_ACCEPTOR_THREAD_H_
25 #define __NETCOMM_UTILS_ACCEPTOR_THREAD_H_
27 #include <core/threading/thread.h>
32 class NetworkIncomingConnectionHandler;
38 unsigned short int port,
39 const char *thread_name =
"NetworkAcceptorThread");
42 const char *thread_name =
"NetworkAcceptorThread");
51 unsigned short int __port;
~NetworkAcceptorThread()
Destructor.
Fawkes library namespace.
virtual void run()
Code to execute in the thread.
virtual void loop()
Thread loop.
Thread class encapsulation of pthreads.
TCP stream socket over IP.
virtual void run()
Stub to see name in backtrace for easier debugging.
Interface for handling incoming connections.
NetworkAcceptorThread(NetworkIncomingConnectionHandler *handler, unsigned short int port, const char *thread_name="NetworkAcceptorThread")
Constructor.