public BeatReactor(ILogger logger, NamingHttpClientProxy serverProxy, NacosSdkOptions options) { this._logger = logger; this._serverProxy = serverProxy; this._dom2Beat = new ConcurrentDictionary <string, BeatInfo>(); this._beatTimer = new ConcurrentDictionary <string, Timer>(); }
public NamingClientProxyDelegate(ILogger logger, string @namespace, ServiceInfoHolder serviceInfoHolder, NacosSdkOptions options, InstancesChangeNotifier changeNotifier) { this._options = options; this.serverListManager = new ServerListManager(logger, options); this.serviceInfoHolder = serviceInfoHolder; this.securityProxy = new SecurityProxy(options, logger); InitSecurityProxy(); this._serviceInfoUpdateService = new ServiceInfoUpdateService(options, serviceInfoHolder, this, changeNotifier); this.grpcClientProxy = new NamingGrpcClientProxy(logger, @namespace, securityProxy, serverListManager, options, serviceInfoHolder); this.httpClientProxy = new NamingHttpClientProxy(logger, @namespace, securityProxy, serverListManager, options, serviceInfoHolder); }
public BeatReactor(ILogger logger, NamingHttpClientProxy serverProxy, NacosSdkOptions options) { this._logger = logger; this._serverProxy = serverProxy; }