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

    - #### setClusterConnectionHandler

          void setClusterConnectionHandler(ClusterConnectionHandler handler)

    - #### setProperties

          void setProperties(Map<String,Object> props)

Copyright © 2004–2020 "Tigase, Inc.". All rights reserved.