public HttpHostConfiguration(IHttpBusConfiguration busConfiguration, HttpHostSettings settings, IHostTopology hostTopology) { _busConfiguration = busConfiguration; _settings = settings; _hostTopology = hostTopology; HostAddress = settings.GetInputAddress(); _host = new HttpHost(this); }
public HttpConsumer(IReceiveObserver receiveObserver, HttpHostSettings settings, IPipe <ReceiveContext> receivePipe, HttpReceiveEndpointContext context) { _receiveObserver = receiveObserver; _receivePipe = receivePipe; _context = context; _tracker = new DeliveryTracker(OnDeliveryComplete); _inputAddress = settings.GetInputAddress(); _deliveryComplete = new TaskCompletionSource <bool>(); SetReady(); }
public HttpConsumerAction(IReceiveObserver receiveObserver, HttpHostSettings settings, IPipe <ReceiveContext> receivePipe, ITaskScope taskSupervisor, IHttpReceiveEndpointTopology topology) { _receiveObserver = receiveObserver; _receivePipe = receivePipe; _topology = topology; _tracker = new DeliveryTracker(OnDeliveryComplete); _inputAddress = settings.GetInputAddress(); _participant = taskSupervisor.CreateParticipant($"{TypeMetadataCache<HttpConsumerAction>.ShortName} - {_inputAddress}", Stop); _deliveryComplete = new TaskCompletionSource <bool>(); _participant.SetReady(); }
public HttpConsumerAction(IReceiveObserver receiveObserver, HttpHostSettings settings, ReceiveSettings receiveSettings, IPipe<ReceiveContext> receivePipe, ITaskScope taskSupervisor, ISendPipe sendPipe) { _receiveObserver = receiveObserver; _receiveSettings = receiveSettings; _receivePipe = receivePipe; _sendPipe = sendPipe; _tracker = new DeliveryTracker(OnDeliveryComplete); _inputAddress = settings.GetInputAddress(); _participant = taskSupervisor.CreateParticipant($"{TypeMetadataCache<HttpConsumerAction>.ShortName} - {_inputAddress}", Stop); _deliveryComplete = new TaskCompletionSource<bool>(); _participant.SetReady(); }