Request that the module begin execution.
mco_fh_ret mco_fh_mod_start(/*IN*/ mco_fh_module_h h);
h | The module handle |
This function requests that the module begin execution. The module should launch separate threads and return control immediately.
MCO_FH_OK | Module successfully started |
MCO_FH_E_INVALID_CONFIG | The configuration supplied by the user in the "config" subsection of the handler module's configuration is invalid |
MCO_FH_E_CONN_FAILURE | The network connection has failed |
MCO_FH_E_SYSTEM_ERROR | A system error (e.g. I/O error) has occurred |
MCO_FH_E_BAD_HANDLE | The module handle is invalid |
mco_fh_ret mco_fh_mod_start(mco_fh_module_h h) { return reinterpret_cast<TestFeedHandler *>(h)->start(); }