/// <summary> /// 注册回调Service /// </summary> /// <typeparam name="T"></typeparam> /// <param name="rpcService"></param> public void RegisterService <T>(T rpcService) { _dispatcher.RegisterService(new RpcServiceDecorator <T>(rpcService)); }
public void RegisterRawService(RpcServiceBase service) { _dispatcher.RegisterService(service); }