----------------------------------------------------------------------------- Helper method to return whether a node is on the network or not -----------------------------------------------------------------------------
| 1618 | // Helper method to return whether a node is on the network or not |
| 1619 | //----------------------------------------------------------------------------- |
| 1620 | bool Manager::IsNodeFailed |
| 1621 | ( |
| 1622 | uint32 const _homeId, |
| 1623 | uint8 const _nodeId |
| 1624 | ) |
| 1625 | { |
| 1626 | bool result = false; |
| 1627 | if( Driver* driver = GetDriver( _homeId ) ) |
| 1628 | { |
| 1629 | LockGuard LG(driver->m_nodeMutex); |
| 1630 | if( Node* node = driver->GetNode( _nodeId ) ) |
| 1631 | { |
| 1632 | result = !node->IsNodeAlive(); |
| 1633 | } |
| 1634 | } |
| 1635 | return result; |
| 1636 | } |
| 1637 | |
| 1638 | //----------------------------------------------------------------------------- |
| 1639 | // <Manager::GetNodeQueryStage> |
nothing calls this directly
no test coverage detected