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: Poco::OSP::Mail::MailDeliveryServiceImpl, Poco::OSP::Shell::ShellConnection, Poco::RemotingNG::TCP::Connection, Poco::Thread::FunctorRunnable, Poco::RemotingNG::TCP::ServerConnection, Poco::RemotingNG::TCP::ServerTransport, RunnableAdapter, Timer, Poco::Util::TimerTaskAdapter, Poco::RemotingNG::TCP::TimerTask, Poco::RemotingNG::TCP::Timer, ThreadTarget, Poco::Util::Timer, Poco::RemotingNG::TCP::Listener::EventSubscription, DirectoryWatcher, Task, Poco::Net::HTTPServer, Poco::Net::TCPServerConnection, ActiveRunnableBase, ActiveRunnable, Poco::Net::SocketReactor, Poco::Net::TCPServer, Poco::Net::sizeof, Activity, ActiveDispatcher, Poco::Net::HTTPServerConnection, Poco::Net::UDPClient, Poco::Net::TCPServerDispatcher, AsyncChannel, Poco::Net::sizeof, Poco::Util::TimerTask, Poco::Util::TimerFunc
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.