Kagome
Polkadot Runtime Engine in C++17
kagome::offchain::OffchainWorkerPool Class Referenceabstract

#include <offchain_worker_pool.hpp>

Inheritance diagram for kagome::offchain::OffchainWorkerPool:
Collaboration diagram for kagome::offchain::OffchainWorkerPool:

Public Member Functions

virtual ~OffchainWorkerPool ()=default
 
virtual void addWorker (std::shared_ptr< OffchainWorker > ofw)=0
 
virtual std::optional< std::shared_ptr< OffchainWorker > > getWorker () const =0
 
virtual bool removeWorker ()=0
 

Detailed Description

Definition at line 7 of file offchain_worker_pool.hpp.

Constructor & Destructor Documentation

virtual kagome::offchain::OffchainWorkerPool::~OffchainWorkerPool ( )
virtualdefault

Member Function Documentation

virtual void kagome::offchain::OffchainWorkerPool::addWorker ( std::shared_ptr< OffchainWorker ofw)
pure virtual
virtual std::optional<std::shared_ptr<OffchainWorker> > kagome::offchain::OffchainWorkerPool::getWorker ( ) const
pure virtual
virtual bool kagome::offchain::OffchainWorkerPool::removeWorker ( )
pure virtual

The documentation for this class was generated from the following file: