(type_id ProtoTypeID, f MsgHandler)
| 79 | } |
| 80 | |
| 81 | func (this *ModuleWorkerPool) RegisterHandler(type_id ProtoTypeID, f MsgHandler) { |
| 82 | for _, v := range this.modules { |
| 83 | v.(ModuleRouter).RegisterHandler(type_id, f) |
| 84 | } |
| 85 | } |
| 86 | |
| 87 | func (this *ModuleWorkerPool) RpcCall(name string, args ...interface{}) { |
| 88 | var hashkey uint32 = 0 |
nothing calls this directly
no test coverage detected