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