resolumeReachable property

set resolumeReachable (bool reachable)

Whether the Resolume web server answers: when false, rest and ws go down and the gateway degraded, while osc stays up, as UDP has no acknowledgement.

Implementation

set resolumeReachable(bool reachable) {
  _live
    ..reachable = reachable
    ..refreshResolume();
  final g = _gateways['resolume'];
  if (g != null) {
    bus.publish(
      DomeTopics.gateway('resolume'),
      EventKinds.gatewayState,
      resource: g,
    );
  }
}