HostScannerService class abstract
Scans for all hosts in a subnet.
Constructors
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
getAllPingableDevices(
String subnet, {int firstHostId = defaultFirstHostId, int lastHostId = defaultLastHostId, List< int> hostIds = const [], int timeoutInSeconds = 1, ProgressCallback? progressCallback, bool resultsInAddressAscendingOrder = true}) → Stream<ActiveHost> -
getAllPingableDevicesAsync(
String subnet, {int firstHostId = defaultFirstHostId, int lastHostId = defaultLastHostId, List< int> hostIds = const [], int timeoutInSeconds = 1, ProgressCallback? progressCallback, bool resultsInAddressAscendingOrder = true}) → Stream<ActiveHost> -
getAllSendablePingableDevices(
String subnet, {int firstHostId = defaultFirstHostId, int lastHostId = defaultLastHostId, List< int> hostIds = const [], int timeoutInSeconds = 1, ProgressCallback? progressCallback, bool resultsInAddressAscendingOrder = true}) → Stream<SendableActiveHost> -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
scanDevicesForSinglePort(
String subnet, int port, {int firstHostId = defaultFirstHostId, int lastHostId = defaultLastHostId, Duration timeout = const Duration(milliseconds: 2000), ProgressCallback? progressCallback, bool resultsInAddressAscendingOrder = true}) → Stream< ActiveHost> -
toString(
) → String -
A string representation of this object.
inherited
-
validateAndGetLastValidSubnet(
String subnet, int firstHostId, int lastHostId) → int
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Properties
- instance → HostScannerService
-
no setter
Constants
- defaultFirstHostId → const int
- Devices scan will start from this integer Id
- defaultLastHostId → const int
- Devices scan will stop at this integer id