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
@@ -50,7 +50,7 @@ void NodeStatusProvider::handleGetNodeInfoRequest(const protocol::GetNodeInfo::R
rsp = node_info_;
}
int NodeStatusProvider::startAndPublish(TransferPriority priority)
int NodeStatusProvider::startAndPublish(const TransferPriority priority)
{
if (!isNodeInfoInitialized())
{
+1
View File
@@ -19,6 +19,7 @@ const TransferPriority TransferPriority::Default((1U << BitLen) / 2);
const TransferPriority TransferPriority::MiddleLower((1U << BitLen) / 2 + (1U << BitLen) / 4);
const TransferPriority TransferPriority::OneHigherThanLowest(NumericallyMax - 1);
const TransferPriority TransferPriority::OneLowerThanHighest(NumericallyMin + 1);
const TransferPriority TransferPriority::Lowest(NumericallyMax);
/**
* TransferID