Package tigase.cluster.api

## Interface ClusterConnectionSelectorIfc

- All Known Implementing Classes:
    `ClusterConnectionSelector`, `ClusterConnectionSelectorOld`

      public interface ClusterConnectionSelectorIfc

  Interface ClusterConnectionSelectorIfc is base interface for classes responsible for selecting connection which should be used to send packet between cluster nodes
  Author:
    andrzej

- - ### Method Summary

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method | Description
    --- | --- | ---
    `XMPPIOService<java.lang.Object>` | `selectConnection​(Packet packet, ClusterConnection conn)` | Method returns XMPPIOService instances which should be used to send packet between cluster nodes
    `void` | `setClusterConnectionHandler​(ClusterConnectionHandler handler)` |
    `void` | `setProperties​(java.util.Map<java.lang.String,​java.lang.Object> props)` |

- - ### Method Detail

    - #### selectConnection

          XMPPIOService<java.lang.Object> selectConnection​(Packet packet,
                                                           ClusterConnection conn)

      Method returns XMPPIOService instances which should be used to send packet between cluster nodes

    - #### setClusterConnectionHandler

          void setClusterConnectionHandler​(ClusterConnectionHandler handler)

    - #### setProperties

          void setProperties​(java.util.Map<java.lang.String,​java.lang.Object> props)