public OnDemandFetcher() { requested = new DoubleEndedQueue(); statusString = ""; //crc32 = new CRC32(); payload = new byte[500]; filePriorities = new byte[4][]; passiveRequests = new DoubleEndedQueue(); running = true; waiting = false; complete = new DoubleEndedQueue(); gzipInputBuffer = new byte[65000]; nodeSubList = new CacheableQueue(); versions = new int[4][]; crcs = new int[4][]; unrequested = new DoubleEndedQueue(); mandatoryRequests = new DoubleEndedQueue(); }
public OnDemandFetcher(ITaskDelayFactory taskDelayFactory) { TaskDelayFactory = taskDelayFactory ?? throw new ArgumentNullException(nameof(taskDelayFactory)); requested = new DoubleEndedQueue(); statusString = ""; //crc32 = new CRC32(); payload = new byte[500]; filePriorities = new byte[4][]; passiveRequests = new DoubleEndedQueue(); running = true; waiting = false; complete = new DoubleEndedQueue(); gzipInputBuffer = new byte[65000]; nodeSubList = new CacheableQueue(); versions = new int[4][]; crcs = new int[4][]; unrequested = new DoubleEndedQueue(); mandatoryRequests = new DoubleEndedQueue(); }