BeeeOn Gateway  v2020.3.1-2-g6f737dc
Platform to interconnect the IoT world
AsyncCommandDispatcher.h
1 #pragma once
2 
3 #include "core/CommandDispatcher.h"
4 #include "util/ParallelExecutor.h"
5 
6 namespace BeeeOn {
7 
13 public:
14  void setCommandsExecutor(ParallelExecutor::Ptr executor);
15 
16 protected:
17  void dispatchImpl(Command::Ptr cmd, Answer::Ptr answer) override;
18 
19 private:
20  ParallelExecutor::Ptr m_commandsExecutor;
21 };
22 
23 }
AsyncCommandDispatcher implements dispatching of commands via a ParallelExecutor instance.
Definition: AsyncCommandDispatcher.h:12
Definition: CommandDispatcher.h:12