onConnected method

void onConnected(
  1. String nodeId
)

A node came back. Everything it was alerting about is over — including its thresholds, which cannot be judged on a node that is reporting nothing.

Implementation

void onConnected(String nodeId) {
  for (final rule in rules) {
    _judge(nodeId: nodeId, rule: rule, breached: false, value: null);
  }
}