ServiceServer sends response at the same priority as request

This commit is contained in:
Pavel Kirienko
2015-07-03 10:02:10 +03:00
parent f015c2de8b
commit b927c1de5f
2 changed files with 4 additions and 1 deletions
@@ -139,6 +139,8 @@ private:
if (response.isResponseEnabled())
{
publisher_.setPriority(request.getPriority()); // Responding at the same priority.
const int res = publisher_.publish(response, TransferTypeServiceResponse, request.getSrcNodeID(),
request.getTransferID());
if (res < 0)