BeeeOn Gateway
v2020.3.1-2-g6f737dc
Platform to interconnect the IoT world
|
AsyncCommandDispatcher implements dispatching of commands via a ParallelExecutor instance. More...
#include <AsyncCommandDispatcher.h>
Public Member Functions | |
void | setCommandsExecutor (ParallelExecutor::Ptr executor) |
Public Member Functions inherited from BeeeOn::CommandDispatcher | |
void | registerHandler (Poco::SharedPtr< CommandHandler > handler) |
void | dispatch (Command::Ptr cmd, Answer::Ptr answer) |
void | registerListener (CommandDispatcherListener::Ptr listener) |
void | setEventsExecutor (AsyncExecutor::Ptr executor) |
Protected Member Functions | |
void | dispatchImpl (Command::Ptr cmd, Answer::Ptr answer) override |
Protected Member Functions inherited from BeeeOn::Loggable | |
void | setupLogger (Poco::Logger *logger=0) const |
Poco::Logger & | logger () const |
Loggable (const ClassInfo &info) | |
Loggable (const std::type_info &info) | |
Additional Inherited Members | |
Static Protected Member Functions inherited from BeeeOn::Loggable | |
static Poco::Logger & | forMethod (const char *name) |
static Poco::Logger & | forClass (const ClassInfo &info) |
static Poco::Logger & | forClass (const std::type_info &info) |
template<typename T > | |
static Poco::Logger & | forInstance (const T *i) |
static void | configureSimple (Poco::Logger &logger, const std::string &level) |
static void | logException (Poco::Logger &logger, const Poco::Message::Priority priority, const Poco::Exception &e, const char *file, size_t line) |
Protected Attributes inherited from BeeeOn::CommandDispatcher | |
std::list< Poco::SharedPtr < CommandHandler > > | m_commandHandlers |
AsyncCommandDispatcher implements dispatching of commands via a ParallelExecutor instance.