MCPcopy Index your code
hub / github.com/Cyinx/einx / module

Struct module

module/module.go:54–74  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

52)
53
54type 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
76func (this *module) GetID() AgentID {
77 return this.id

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected