| 26 | namespace TEngine { |
| 27 | |
| 28 | static void ResetEventStats(NotifyBus::EventNode* node) |
| 29 | { |
| 30 | node->sync_send_count = 0; |
| 31 | node->send_count = 0; |
| 32 | node->drop_count = 0; |
| 33 | node->process_count = 0; |
| 34 | node->send_fail_count = 0; |
| 35 | node->active = 0; |
| 36 | } |
| 37 | |
| 38 | NotifyBus::NotifyBus(const std::string& name, int max_event_type_num, int max_event_pending_num) |
| 39 | { |