Exemplo n.º 1
0
 public HttpConsumerFilter(HttpHostSettings hostSettings, ReceiveSettings receiveSettings,
                           HttpReceiveEndpointContext context)
 {
     _hostSettings    = hostSettings;
     _receiveSettings = receiveSettings;
     _context         = context;
 }
Exemplo n.º 2
0
        public HttpConsumer(HttpReceiveEndpointContext context)
        {
            _context = context;

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

            SetReady();
        }
Exemplo n.º 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;
 }
Exemplo n.º 4
0
        public HttpConsumer(HttpHostSettings settings, HttpReceiveEndpointContext context)
        {
            _context = context;

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

            SetReady();
        }
Exemplo n.º 5
0
 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;
 }
Exemplo n.º 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();
        }
Exemplo n.º 7
0
 public HttpReceiveTransport(IHttpHost host, HttpReceiveEndpointContext receiveEndpointContext, IPipe <HttpHostContext> hostPipe)
 {
     _host = host;
     _receiveEndpointContext = receiveEndpointContext;
     _hostPipe = hostPipe;
 }