Beispiel #1
0
 public HttpConsumerFilter(HttpHostSettings hostSettings, ReceiveSettings receiveSettings,
                           HttpReceiveEndpointContext context)
 {
     _hostSettings    = hostSettings;
     _receiveSettings = receiveSettings;
     _context         = context;
 }
Beispiel #2
0
        public HttpConsumer(HttpReceiveEndpointContext context)
        {
            _context = context;

            _tracker          = new DeliveryTracker(OnDeliveryComplete);
            _deliveryComplete = TaskUtil.GetTask <bool>();

            SetReady();
        }
Beispiel #3
0
 public HttpReceiveTransport(IHttpHost host, HttpReceiveEndpointContext context, ReceiveObservable receiveObservable,
                             ReceiveTransportObservable receiveTransportObservable, IPipe <HttpHostContext> hostPipe)
 {
     _host                       = host;
     _context                    = context;
     _receiveObservable          = receiveObservable;
     _receiveTransportObservable = receiveTransportObservable;
     _hostPipe                   = hostPipe;
 }
Beispiel #4
0
        public HttpConsumer(HttpHostSettings settings, HttpReceiveEndpointContext context)
        {
            _context = context;

            _tracker          = new DeliveryTracker(OnDeliveryComplete);
            _inputAddress     = context.InputAddress;
            _deliveryComplete = new TaskCompletionSource <bool>();

            SetReady();
        }
 public HttpConsumerFilter(IPipe <ReceiveContext> receivePipe, IReceiveObserver receiveObserver, IReceiveTransportObserver transportObserver,
                           HttpHostSettings hostSettings, ReceiveSettings receiveSettings, HttpReceiveEndpointContext context)
 {
     _receivePipe       = receivePipe;
     _receiveObserver   = receiveObserver;
     _transportObserver = transportObserver;
     _hostSettings      = hostSettings;
     _receiveSettings   = receiveSettings;
     _context           = context;
 }
Beispiel #6
0
        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 HttpReceiveTransport(IHttpHost host, HttpReceiveEndpointContext receiveEndpointContext, IPipe <HttpHostContext> hostPipe)
 {
     _host = host;
     _receiveEndpointContext = receiveEndpointContext;
     _hostPipe = hostPipe;
 }