(event_msg EventMsg)
| 278 | } |
| 279 | |
| 280 | func (this *module) handle_component_error(event_msg EventMsg) { |
| 281 | com_event := event_msg.(*ComponentEventMsg) |
| 282 | c := com_event.Sender |
| 283 | if mgr, ok := this.commgr_map[c.GetID()]; ok == true { |
| 284 | ctx := this.context |
| 285 | ctx.c = c |
| 286 | ctx.t = com_event.Attach |
| 287 | mgr.OnComponentError(ctx, com_event.Err) |
| 288 | ctx.Reset() |
| 289 | return |
| 290 | } |
| 291 | slog.LogError("component", "module[%v] not register component[%v] manager cant handle error:%v", this.name, c.GetID(), com_event.Attach) |
| 292 | } |
| 293 | |
| 294 | func (this *module) handle_agent_enter(event_msg EventMsg) { |
| 295 | ses_event := event_msg.(*SessionEventMsg) |
no test coverage detected