public Scanner(string host) { this.esclClient = new EsclClient(); this.Host = host; this.statusProvider = new StatusProvider(esclClient, host); this.capabilitiesProvider = new CapabilitiesProvider(esclClient, host); this.requestGenerator = new EsclScanRequestGenerator(); this.jobCreator = new EsclJobCreator(esclClient, host, requestGenerator); }
public EsclJobCreator(IEsclClient esclClient, string host, EsclScanRequestGenerator scanRequestGenerator) { this.esclClient = esclClient; this.host = host; this.endpoint = string.Format(NEW_JOB_URI_PATTERN, host); this.scanRequestGenerator = scanRequestGenerator; }