public GrpcReceiveEndpointConfiguration(IGrpcHostConfiguration hostConfiguration, string queueName, IGrpcEndpointConfiguration endpointConfiguration) : base(hostConfiguration, endpointConfiguration) { _hostConfiguration = hostConfiguration; _queueName = queueName ?? throw new ArgumentNullException(nameof(queueName)); _endpointConfiguration = endpointConfiguration ?? throw new ArgumentNullException(nameof(endpointConfiguration)); HostAddress = hostConfiguration?.HostAddress ?? throw new ArgumentNullException(nameof(hostConfiguration.HostAddress)); InputAddress = new GrpcEndpointAddress(hostConfiguration.HostAddress, queueName); }
GrpcEndpointConfiguration(IGrpcEndpointConfiguration parentConfiguration, IGrpcTopologyConfiguration topologyConfiguration) : base(parentConfiguration, topologyConfiguration) { _topologyConfiguration = topologyConfiguration; }