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 and Description
    --- | ---
    `XMPPIOService<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(Map<String,Object> props)`

- - ### Method Detail

    - #### selectConnection

          XMPPIOService<Object> selectConnection(Packet packet,
                                                 ClusterConnection conn)

      Method returns XMPPIOService instances which should be used to send packet between cluster nodes
      Parameters:
        `packet` -
        `conn` -
      Returns:

    - #### setClusterConnectionHandler

          void setClusterConnectionHandler(ClusterConnectionHandler handler)

    - #### setProperties

          void setProperties(Map<String,Object> props)

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