Collage
0.6.1
|
A class for sending custom commands and data to local & external nodes. More...
#include <customOCommand.h>
Public Member Functions | |
CO_API | CustomOCommand (const Connections &receivers, const uint128_t &commandID) |
Construct a command dispatched to a remote LocalNode custom command handler. | |
CO_API | CustomOCommand (LocalNodePtr localNode, const uint128_t &commandID) |
Construct a command dispatched to a local custom command handler. | |
CO_API | CustomOCommand (const CustomOCommand &rhs) |
virtual CO_API | ~CustomOCommand () |
Send or dispatch this command during destruction. |
A class for sending custom commands and data to local & external nodes.
Definition at line 34 of file customOCommand.h.
CO_API co::CustomOCommand::CustomOCommand | ( | const Connections & | receivers, |
const uint128_t & | commandID | ||
) |
Construct a command dispatched to a remote LocalNode custom command handler.
receivers | list of connections where to send the command to. |
commandID | the custom command identifier |
CO_API co::CustomOCommand::CustomOCommand | ( | LocalNodePtr | localNode, |
const uint128_t & | commandID | ||
) |
Construct a command dispatched to a local custom command handler.
localNode | the local node that holds the command cache. |
commandID | the custom command identifier |
virtual CO_API co::CustomOCommand::~CustomOCommand | ( | ) | [virtual] |
Send or dispatch this command during destruction.