(name string, f RpcHandler)
| 73 | } |
| 74 | |
| 75 | func (this *ModuleWorkerPool) RegisterRpcHandler(name string, f RpcHandler) { |
| 76 | for _, v := range this.modules { |
| 77 | v.(ModuleRouter).RegisterRpcHandler(name, f) |
| 78 | } |
| 79 | } |
| 80 | |
| 81 | func (this *ModuleWorkerPool) RegisterHandler(type_id ProtoTypeID, f MsgHandler) { |
| 82 | for _, v := range this.modules { |
nothing calls this directly
no test coverage detected