Skip to content

IClusterConnectionStatusObserver Methods

Interface that receives notifications about the status of the cluster connection.

NotifyClusterConnectionLost

abstract
public abstract void NotifyClusterConnectionLost()
Notifies this observer that the connection to the cluster has been lost.

NotifyGatewayCountChanged(int, int, bool)

abstract
public abstract void NotifyGatewayCountChanged(int currentNumberOfGateways, int previousNumberOfGateways, bool connectionRecovered)
Notifies this observer that the number of connected gateways has changed.

Parameters

currentNumberOfGatewaysint
The current number of gateways.
previousNumberOfGatewaysint
The previous number of gateways.
connectionRecoveredbool
Indicates whether a loss of connectivity has been resolved.