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);
        }
Example #2
0
 GrpcEndpointConfiguration(IGrpcEndpointConfiguration parentConfiguration, IGrpcTopologyConfiguration topologyConfiguration)
     : base(parentConfiguration, topologyConfiguration)
 {
     _topologyConfiguration = topologyConfiguration;
 }