----------------------------------------------------------------------------- Heal a single node in the network -----------------------------------------------------------------------------
| 4130 | // Heal a single node in the network |
| 4131 | //----------------------------------------------------------------------------- |
| 4132 | void Manager::HealNetworkNode |
| 4133 | ( |
| 4134 | uint32 const _homeId, |
| 4135 | uint8 const _nodeId, |
| 4136 | bool _doRR |
| 4137 | ) |
| 4138 | { |
| 4139 | if( Driver* driver = GetDriver( _homeId ) ) |
| 4140 | { |
| 4141 | LockGuard LG(driver->m_nodeMutex); |
| 4142 | Node* node = driver->GetNode( _nodeId ); |
| 4143 | if( node ) |
| 4144 | { |
| 4145 | driver->BeginControllerCommand( Driver::ControllerCommand_RequestNodeNeighborUpdate, NULL, NULL, true, _nodeId, 0 ); |
| 4146 | if( _doRR ) |
| 4147 | { |
| 4148 | driver->UpdateNodeRoutes( _nodeId, true ); |
| 4149 | } |
| 4150 | } |
| 4151 | } |
| 4152 | } |
| 4153 | |
| 4154 | //----------------------------------------------------------------------------- |
| 4155 | // <Manager::HealNetwork> |
nothing calls this directly
no test coverage detected