tigase.cluster.api

## Interface ClusteredComponentIfc

- All Superinterfaces:
    ServerComponent
  All Known Implementing Classes:
    BoshConnectionClustered, ClientConnectionClustered, ClusterConnectionManager, MonitorClustered, S2SConnectionClustered, SessionManagerClustered, VHostManagerClustered, WebSocketClientConnectionClustered

      public interface ClusteredComponentIfc
      extends ServerComponent

  Describe interface ClusteredComponent here. Created: Mon Jun 9 20:00:46 2008
  Version:
    $Rev$
  Author:
    Artur Hefczyc

- - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `void` | `nodeConnected(String node)` Method is called on cluster node connection event.
    `void` | `nodeDisconnected(String node)` Method is called on cluster node disconnection event.
    `void` | `setClusterController(ClusterControllerIfc cl_controller)` Set's the configures the cluster controller object for cluster communication and API.

    - ### Methods inherited from interface tigase.server.ServerComponent

      `getComponentId, getComponentInfo, getName, initializationCompleted, isInitializationComplete, processPacket, release, setName`

- - ### Method Detail

    - #### setClusterController

          void setClusterController(ClusterControllerIfc cl_controller)

      Set's the configures the cluster controller object for cluster communication and API.
      Parameters:
        `cl_controller` -

    - #### nodeConnected

          void nodeConnected(String node)

      Method is called on cluster node connection event. This is a notification to the component that a new cluster node has connected.
      Parameters:
        `node` - is a hostname of a cluster node generating the event.

    - #### nodeDisconnected

          void nodeDisconnected(String node)

      Method is called on cluster node disconnection event. This is a notification to the component that there was network connection lost to one of the cluster nodes.
      Parameters:
        `node` - is a hostname of a cluster node generating the event.

Copyright © 2014 "Tigase, Inc.". All rights reserved.