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

  Modifier and Type
  Method
  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 Details

  - ### 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)