public OnPremisesConnection(ILogger logger, IBackendCommunication backendCommunication, IConfiguration configuration, ILifetimeScope lifetimeScope) { _logger = logger; _backendCommunication = backendCommunication ?? throw new ArgumentNullException(nameof(backendCommunication)); _configuration = configuration ?? throw new ArgumentNullException(nameof(configuration)); _lifetimeScope = lifetimeScope ?? throw new ArgumentNullException(nameof(lifetimeScope)); }
public OnPremiseConnectionHeartbeater(ILogger logger, IConfiguration configuration, IBackendCommunication backendCommunication) { _logger = logger; _configuration = configuration ?? throw new ArgumentNullException(nameof(configuration)); _backendCommunication = backendCommunication ?? throw new ArgumentNullException(nameof(backendCommunication)); _heartbeatInterval = new TimeSpan(_configuration.ActiveConnectionTimeout.Ticks / 4); _cts = new CancellationTokenSource(); }
public ClientController(IBackendCommunication backendCommunication, ILogger logger, ILinkRepository linkRepository, IRequestLogger requestLogger, IHttpResponseMessageBuilder httpResponseMessageBuilder, IOnPremiseRequestBuilder onPremiseRequestBuilder, IPathSplitter pathSplitter, ITraceManager traceManager) { _backendCommunication = backendCommunication; _logger = logger; _linkRepository = linkRepository; _requestLogger = requestLogger; _httpResponseMessageBuilder = httpResponseMessageBuilder; _onPremiseRequestBuilder = onPremiseRequestBuilder; _pathSplitter = pathSplitter; _traceManager = traceManager; }
public ClientController(IBackendCommunication backendCommunication, ILogger logger, ILinkRepository linkRepository, IRequestLogger requestLogger, IOnPremiseRequestBuilder onPremiseRequestBuilder, IPathSplitter pathSplitter, ITraceManager traceManager, IInterceptorManager interceptorManager, IPostDataTemporaryStore postDataTemporaryStore) { _backendCommunication = backendCommunication ?? throw new ArgumentNullException(nameof(backendCommunication)); _logger = logger; _linkRepository = linkRepository ?? throw new ArgumentNullException(nameof(linkRepository)); _requestLogger = requestLogger ?? throw new ArgumentNullException(nameof(requestLogger)); _onPremiseRequestBuilder = onPremiseRequestBuilder ?? throw new ArgumentNullException(nameof(onPremiseRequestBuilder)); _pathSplitter = pathSplitter ?? throw new ArgumentNullException(nameof(pathSplitter)); _traceManager = traceManager ?? throw new ArgumentNullException(nameof(traceManager)); _interceptorManager = interceptorManager ?? throw new ArgumentNullException(nameof(interceptorManager)); _postDataTemporaryStore = postDataTemporaryStore ?? throw new ArgumentNullException(nameof(postDataTemporaryStore)); }
public ResponseController(ILifetimeScope scope, ILogger logger) { _logger = logger; _backendCommunication = scope.Resolve <IBackendCommunication>(); }
public ResponseController(IBackendCommunication backendCommunication, ILogger logger, IPostDataTemporaryStore postDataTemporaryStore) { _logger = logger; _backendCommunication = backendCommunication ?? throw new ArgumentNullException(nameof(backendCommunication)); _postDataTemporaryStore = postDataTemporaryStore ?? throw new ArgumentNullException(nameof(postDataTemporaryStore)); }
public RequestController(ILogger logger, IPostDataTemporaryStore temporaryStore, IBackendCommunication backendCommunication) { _logger = logger; _temporaryStore = temporaryStore ?? throw new ArgumentNullException(nameof(temporaryStore)); _backendCommunication = backendCommunication ?? throw new ArgumentNullException(nameof(backendCommunication)); }
public OnPremisesConnection(ILogger logger, IBackendCommunication backendCommunication) { _logger = logger; _backendCommunication = backendCommunication ?? throw new ArgumentNullException(nameof(backendCommunication)); }
public LinkController(ILinkRepository linkRepository, IBackendCommunication backendCommunication, IRequestLogger requestLogger) { _linkRepository = linkRepository; _backendCommunication = backendCommunication; _requestLogger = requestLogger; }
public OnPremisesConnection(IBackendCommunication backendCommunication, IPostDataTemporaryStore temporaryStore, ILogger logger) { _backendCommunication = backendCommunication; _temporaryStore = temporaryStore; _logger = logger; }