Library: Foundation
Package: Threading
Header: Poco/Runnable.h
Description
The Runnable interface with the run() method must be implemented by classes that provide an entry point for a thread.
Inheritance
Known Derived Classes: ThreadTarget, Poco::Net::SocketReactor, RunnableAdapter, Task, Poco::Net::HTTPServer, Poco::Net::HTTPServerConnection, Poco::Net::SocketProactor, Poco::Net::sizeof, Poco::Util::TimerTaskAdapter, Poco::Net::TCPServerDispatcher, Poco::Net::UDPClient, Poco::Net::TCPServer, Poco::Net::TCPServerConnection, Poco::Net::sizeof, Poco::Thread::FunctorRunnable, Poco::Util::Timer, ActiveRunnableBase, ActiveRunnable, Activity, DirectoryWatcher, ProcessRunner, Timer, Poco::Util::TimerTask, Poco::Util::TimerFunc, Poco::Data::SQLChannel, ActiveDispatcher, AsyncChannel
Member Summary
Member Functions: run
Constructors
Runnable
Runnable();
Destructor
~Runnable
virtual ~Runnable();
Member Functions
run
virtual void run() = 0;
Do whatever the thread needs to do. Must be overridden by subclasses.