Interface IClusterChannelStateListener

  • All Superinterfaces:
    Serializable

    public interface IClusterChannelStateListener
    extends Serializable
    A listener that can be used to react to events related to changes in the channel of a cluster, e.g. when a connection to a node was established or cut; or when a channel was closed.
    Since:
    3.1.0
    Author:
    XIMA MEDIA GmbH
    • Method Detail

      • connected

        void connected​(ChannelCommunicationData channelData)
        Invoked when the connection to a node was established.
        Parameters:
        channelData - Details about the current state of the channel.
      • disconnected

        void disconnected​(ChannelCommunicationData channelData)
        Invoked when the connection to a node was cut. As long as the channel is not closed, the connection may be established later again.
        Parameters:
        channelData - Details about the current state of the channel.
      • closed

        void closed​(ChannelCommunicationData channelData)
        Invoked when the channel for a node was closed. Once a channel is closed, no connection to the node can be established anymore.
        Parameters:
        channelData - Details about the current state of the channel.