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: AsyncChannel, ActiveDispatcher, ActiveRunnable, Activity, ActiveRunnableBase, DirectoryWatcher, ThreadTarget, Poco::Thread::FunctorRunnable, Timer, RunnableAdapter, Task, Poco::Net::HTTPServerConnection, Poco::Net::HTTPServer, Poco::Net::TCPServerConnection, Poco::Net::sizeof, Poco::Net::sizeof, Poco::Net::SocketReactor, Poco::Net::TCPServerDispatcher, Poco::Net::SocketProactor, Poco::Util::TimerTaskAdapter, Poco::Net::TCPServer, Poco::Net::UDPClient, Poco::Util::Timer, Poco::Util::TimerFunc, Poco::Util::TimerTask
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.