Adds immediate migration results in progress
This commit is contained in:
2102 files changed
+17482
-15071
No files matched your search
+8
-8
@@ -32,7 +32,7 @@ bool BiteHandler::init()
|
||||
void BiteHandler::onDemandBiteReply(const Core::FunctionReplyObject &replyObject)
|
||||
{
|
||||
if (replyObject.error())
|
||||
WARNING_LOG() << "Got an demandBiteError: " << replyObject();
|
||||
WARNING_LOG(m_logger) << "Got an demandBiteError: " << replyObject();
|
||||
|
||||
auto it = m_demandedBiteParticipantRequests.find(replyObject.id());
|
||||
if (it != m_demandedBiteParticipantRequests.end())
|
||||
@@ -45,17 +45,17 @@ void BiteHandler::onDemandBiteReply(const Core::FunctionReplyObject &replyObject
|
||||
m_demandedBiteParticipantRequests.erase(it);
|
||||
}
|
||||
else
|
||||
WARNING_LOG() << "Bite request with request id " << replyObject.id() << " was not replied to by the proxy";
|
||||
WARNING_LOG(m_logger) << "Bite request with request id " << replyObject.id() << " was not replied to by the proxy";
|
||||
}
|
||||
|
||||
void BiteHandler::onCallBiteRequest(const rti::core::SampleIdentity &cookie,
|
||||
const CallBiteRequest &request)
|
||||
{
|
||||
DEBUG_LOG() << "onCallBiteRequest: " << request;
|
||||
DEBUG_LOG(m_logger) << "onCallBiteRequest: " << request;
|
||||
auto ret = callBiteRequest(cookie, request);
|
||||
if (ret.error() || ret.id())
|
||||
{
|
||||
WARNING_LOG() << ret();
|
||||
WARNING_LOG(m_logger) << ret();
|
||||
m_mainHandler->fts()->callBiteReply(cookie, ret);
|
||||
}
|
||||
// delayed answer in non-error case
|
||||
@@ -75,7 +75,7 @@ Core::FunctionReplyObject BiteHandler::callBiteRequest(const rti::core::SampleId
|
||||
{
|
||||
if (m_demandedBiteParticipants.contains(participantId))
|
||||
{
|
||||
DEBUG_LOG() << "demandBiteRequest for participant Id "
|
||||
DEBUG_LOG(m_logger) << "demandBiteRequest for participant Id "
|
||||
<< participantId
|
||||
<< " already triggered - reply is still to be done";
|
||||
bAlreadyDemandedFound = true;
|
||||
@@ -85,12 +85,12 @@ Core::FunctionReplyObject BiteHandler::callBiteRequest(const rti::core::SampleId
|
||||
const ParticipantHandling::Participant *participant = m_mainHandler->participantHandler()->participantById(participantId);
|
||||
if (participant == nullptr)
|
||||
{
|
||||
WARNING_LOG() << "Got BITE request for non existing participant id " << participantId;
|
||||
WARNING_LOG(m_logger) << "Got BITE request for non existing participant id " << participantId;
|
||||
continue;
|
||||
}
|
||||
if (participant->equipmentNumber() == 0)
|
||||
{
|
||||
WARNING_LOG() << "Got BITE request participant id " << participantId << " but has no equipment number set";
|
||||
WARNING_LOG(m_logger) << "Got BITE request participant id " << participantId << " but has no equipment number set";
|
||||
continue;
|
||||
}
|
||||
bOneFound = true;
|
||||
@@ -134,7 +134,7 @@ Core::FunctionReplyObject BiteHandler::callBiteRequest(const rti::core::SampleId
|
||||
|
||||
void BiteHandler::onBiteRequestTimeout(int requestId)
|
||||
{
|
||||
INFO_LOG() << "onBiteRequestTimeout for " << requestId;
|
||||
INFO_LOG(m_logger) << "onBiteRequestTimeout for " << requestId;
|
||||
|
||||
onDemandBiteReply(Core::FunctionReplyObject(requestId, tr_lts("dds", "Timeout while waiting for the proxy")));
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user