| 52 | ) |
| 53 | |
| 54 | type module struct { |
| 55 | id AgentID |
| 56 | ev_queue *EventQueue |
| 57 | name string |
| 58 | msg_handler_map map[ProtoTypeID]MsgHandler |
| 59 | rpc_handler_map map[string]RpcHandler |
| 60 | agent_map map[AgentID]Agent |
| 61 | commgr_map map[ComponentID]ComponentMgr |
| 62 | component_map map[ComponentID]Component |
| 63 | rpc_msg_pool *sync.Pool |
| 64 | data_msg_pool *sync.Pool |
| 65 | event_msg_pool *sync.Pool |
| 66 | timer_manager *TimerManager |
| 67 | op_count int64 |
| 68 | close_chan chan bool |
| 69 | context *ModuleContext |
| 70 | event_list []interface{} |
| 71 | event_count uint32 |
| 72 | event_index uint32 |
| 73 | begin_time int64 |
| 74 | } |
| 75 | |
| 76 | func (this *module) GetID() AgentID { |
| 77 | return this.id |
nothing calls this directly
no outgoing calls
no test coverage detected