TCPScanner.build constructor

TCPScanner.build(
  1. String host,
  2. List<int> ports,
  3. int timeout,
  4. bool shuffle,
  5. int isolates,
  6. Duration updateInterval
)

All arguments constructor

Implementation

TCPScanner.build(String host, List<int> ports, int timeout, bool shuffle, int isolates, Duration updateInterval) {
  _host = host;
  _ports = ports;
  _connectTimeout = Duration(milliseconds: timeout);
  _shuffle = shuffle;
  _isolatesCount = isolates;
  _updateInterval = updateInterval;
}