| 671 | } |
| 672 | |
| 673 | void TopicHandlerService::processAllHandlers() |
| 674 | { |
| 675 | uint8_t idx = 0U; |
| 676 | uint8_t count = 0U; |
| 677 | ITopicHandler** topicHandlerList = TopicHandlers::getList(count); |
| 678 | |
| 679 | while (count > idx) |
| 680 | { |
| 681 | ITopicHandler* handler = topicHandlerList[idx]; |
| 682 | |
| 683 | if (nullptr != handler) |
| 684 | { |
| 685 | handler->process(); |
| 686 | } |
| 687 | |
| 688 | ++idx; |
| 689 | } |
| 690 | } |
| 691 | |
| 692 | void TopicHandlerService::notifyAllHandlers(const String& deviceId, const String& entityId, const String& topic) |
| 693 | { |