public TransportSenderWorker(IPacketManager packetManager, ITransportAgentInfoService agentInfoService, IConfigurationStoreService configurationStore, string url, TransportSettings settings, ISendStateStore sendStateStore) : this(packetManager, agentInfoService, configurationStore, url, new ConstantTransportSettingsProvider(settings), sendStateStore) { }
public TransportSenderWorker(IPacketManager packetManager, ITransportAgentInfoService agentInfoService, IConfigurationStoreService configurationStore, string url, TransportSettings settings, ISendStateStore sendStateStore) { #if NETSTANDARD2_0 this.httpClient = new HttpClient(); #endif this.packetManager = packetManager; this.agentInfoService = agentInfoService; this.configurationStore = configurationStore; this.url = url; this.settings = settings; this.sendStateStore = sendStateStore; this.hashAlgorithmFunc = (() => null); }
public TransportClient(ITransportAgentInfoService transportAgentInfoService, IPacketManager packetManager) { this.packetManager = packetManager ?? throw new System.ArgumentNullException(nameof(packetManager)); this.transportAgentInfoService = transportAgentInfoService ?? throw new System.ArgumentNullException(nameof(transportAgentInfoService)); }