Configurable priority in high-level protocol logic classes

This commit is contained in:
Pavel Kirienko
2015-07-05 09:54:54 +03:00
parent f48c16d1ef
commit 35fd634282
9 changed files with 19 additions and 15 deletions
@@ -346,7 +346,7 @@ public:
* Destroy the object to stop it.
* Returns negative error code.
*/
int start()
int start(const TransferPriority priority = TransferPriority::OneHigherThanLowest)
{
int res = NodeStatusMonitor::start();
if (res < 0)
@@ -354,7 +354,7 @@ public:
return res;
}
res = get_node_info_client_.init();
res = get_node_info_client_.init(priority);
if (res < 0)
{
return res;