| 96 | } |
| 97 | |
| 98 | CommandHandlerHandle CommandHandlerRepository::GetCommandHandler(const std::string& command_name) { |
| 99 | CommandHandlerMap::const_iterator found_iterator = |
| 100 | this->command_handlers_.find(command_name); |
| 101 | |
| 102 | if (found_iterator == this->command_handlers_.end()) { |
| 103 | return NULL; |
| 104 | } |
| 105 | |
| 106 | return found_iterator->second; |
| 107 | } |
| 108 | |
| 109 | void CommandHandlerRepository::PopulateCommandHandlers() { |
| 110 | LOG(TRACE) << "Entering CommandHandlerRepository::PopulateCommandHandlers"; |
no test coverage detected