MCPcopy Create free account
hub / github.com/apache/nifi-minifi-cpp / error

Method error

libminifi/src/sitetosite/SiteToSiteClient.cpp:338–352  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

336}
337
338void SiteToSiteClient::error(const utils::Identifier& transactionID) {
339 std::shared_ptr<Transaction> transaction = NULL;
340
341 auto it = this->known_transactions_.find(transactionID);
342
343 if (it == known_transactions_.end()) {
344 return;
345 } else {
346 transaction = it->second;
347 }
348
349 transaction->_state = TRANSACTION_ERROR;
350 tearDown();
351 return;
352}
353
354// Complete the transaction
355bool SiteToSiteClient::complete(const utils::Identifier& transactionID) {

Callers 1

Calls 3

tearDownFunction · 0.85
findMethod · 0.45
endMethod · 0.45

Tested by

no test coverage detected