3 #include <Poco/SharedPtr.h>
4 #include <Poco/Timespan.h>
6 #include "util/Cancellable.h"
17 typedef Poco::SharedPtr<AnyAsyncWork> Ptr;
25 virtual bool tryJoin(
const Poco::Timespan &timeout) = 0;
Any class that can be cancelled should inherit from this interface. This allows to maintain a set of ...
Definition: Cancellable.h:12
AnyAsyncWork represents an asynchronous work to be processed. Such work is defined only in terms of e...
Definition: AnyAsyncWork.h:15
virtual bool tryJoin(const Poco::Timespan &timeout)=0