class Poco::Runnable

Overview

The Runnable interface with the run() method must be implemented by classes that provide an entry point for a thread. Moreā€¦

#include <Runnable.h>

class Runnable
{
public:
    // methods

    virtual
    void
    run() = 0;
};

// direct descendants

class ActiveDispatcher;
class ActiveRunnableBase;

template <class C>
class Activity;

class AsyncChannel;
class DirectoryWatcher;
class SocketReactor;
class TCPServer;
class TCPServerConnection;
class TCPServerDispatcher;

template <class C>
class RunnableAdapter;

class Task;

template <class Functor>
class FunctorRunnable;

class ThreadTarget;
class Timer;
class Timer;
class TimerTask;

Detailed Documentation

The Runnable interface with the run() method must be implemented by classes that provide an entry point for a thread.

Methods

virtual
void
run() = 0

Do whatever the thread needs to do.

Must be overridden by subclasses.