VigilReporter class

Constructors

VigilReporter({required String url, required String token, required String probeId, required String nodeId, required String replicaId, int interval = 30, VigilLogger? logger})
Vigil Reporter

Properties

hashCode int
The hash code for this object.
no setterinherited
interval int
Reporting interval (in seconds; defaults to 30 seconds if not set)
final
logger VigilLogger?
Logger if you need to debug issues
final
nodeId String
Node ID containing Replica
final
probeId String
Probe ID containing the parent Node for Replica
final
replicaId String
Unique Replica ID for instance (ie. your IP on the LAN)
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
token String
reporter_token from Vigil config.cfg
final
url String
page_url from Vigil config.cfg
getter/setter pair

Methods

end({bool flush = false}) Future<void>
Stop polling requests
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

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