TcpScannerTask class

Constructors

TcpScannerTask(String host, List<int> ports, {Duration socketTimeout = const Duration(seconds: 1), bool shuffle = false, int parallelism = 4})

Properties

hashCode int
The hash code for this object.
no setterinherited
host String
final
isRunning bool
no setter
parallelism int
latefinal
ports List<int>
latefinal
report Future<TcpScannerTaskReport>
Request scan report report
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
shuffle bool
final
socketTimeout Duration
final

Methods

cancel() Future<TcpScannerTaskReport>
Cancel scanner task
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
start() Future<TcpScannerTaskReport>
Start scanning task
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited