PingRequire class
Configuración requerida para ejecutar un comando ping
Parámetros:
- host: Dirección del objetivo (requerido)
- port: Puerto a verificar (default: 443)
- interval: Habilita ping continuo (default: true)
- okConexion: Callback para respuestas exitosas
- errorConexion: Callback para respuestas fallidas
Constructors
- PingRequire.new({String namePing = 'ping', required String host, int port = 443, bool interval = true, PingCallBack? okConexion, PingCallBack? errorConexion, bool forcePing = true})
Properties
- errorConexion ↔ PingCallBack?
-
getter/setter pair
- forcePing ↔ bool
-
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
- host ↔ String
-
getter/setter pair
- interval ↔ bool
-
getter/setter pair
-
locate
↔ Map<
String, String> -
getter/setter pair
- namePing ↔ String
-
getter/setter pair
- okConexion ↔ PingCallBack?
-
getter/setter pair
-
param
↔ List<
String> -
getter/setter pair
- port ↔ int
-
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
organizer(
) → dynamic - Configura los parámetros del comando ping según el sistema operativo
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Properties
- pingDefault ↔ PingRequire
-
getter/setter pair