public class RedundancyStateAdapter extends java.lang.Object implements RedundancyStateListener
RedundancyStateListener
that can be subclassed.Constructor and Description |
---|
RedundancyStateAdapter() |
Modifier and Type | Method and Description |
---|---|
void |
redundancyConnStatusChanged(ClusterPeerConnectionStatus status)
Called when the connection state between this node and the other changes- on connect and disconnect.
|
void |
redundancyStateChanged(RedundancyState newState)
Called when the node's "redundancy state" changes - ie, its activity level.
|
public void redundancyStateChanged(RedundancyState newState)
RedundancyStateListener
redundancyStateChanged
in interface RedundancyStateListener
public void redundancyConnStatusChanged(ClusterPeerConnectionStatus status)
RedundancyStateListener
redundancyConnStatusChanged
in interface RedundancyStateListener