23#ifndef _PLUGINS_EXAMPLE_NET_THREAD_H_
24#define _PLUGINS_EXAMPLE_NET_THREAD_H_
26#include <aspect/fawkes_network.h>
27#include <aspect/logging.h>
28#include <core/threading/thread.h>
29#include <netcomm/fawkes/handler.h>
Network thread of example plugin.
virtual void loop()
Thread loop.
virtual void finalize()
Finalize the thread.
virtual ~ExampleNetworkThread()
Destructor.
virtual void run()
Stub to see name in backtrace for easier debugging.
virtual void handle_network_message(fawkes::FawkesNetworkMessage *msg)
Handle network message.
virtual void init()
Initialize thread.
ExampleNetworkThread(const char *name)
Constructor.
virtual void client_disconnected(unsigned int clid)
Client disconnected.
virtual void client_connected(unsigned int clid)
Client connected.
Thread aspect to participate in the Fawkes Network protocol.
Network handler abstract base class.
Representation of a message that is sent over the network.
Thread aspect to log output.
Thread class encapsulation of pthreads.
const char * name() const
Get name of thread.