Ping class abstract
Ping class used to instantiate a ping instance. Spawns an OS ping process when the stream property is listened to
Constructors
Properties
- command → String
-
The command that will be run on the host OS
no setter
- hashCode → int
-
The hash code for this object.
no setterinherited
- parser ↔ PingParser
-
Parser used to interpret ping process output
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
stream
→ Stream<
PingData> -
Stream of
PingData
which spawns a ping process on listen and kills it on cancellation. The stream closes when the process ends.no setter
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
stop(
) → Future< bool> - Kills ping process and closes stream.
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Properties
- iosFactory ↔ (Ping Function(String host, int? count, int interval, int timeout, int ttl, bool ipv6, PingParser? parser, Encoding encoding)?)
-
getter/setter pair