public class ClusterConnectionSelector extends Object implements ClusterConnectionSelectorIfc
Modifier and Type | Field and Description |
---|---|
protected static String |
CLUSTER_SYS_CONNECTIONS_PER_NODE_PROP_KEY |
Constructor and Description |
---|
ClusterConnectionSelector() |
Modifier and Type | Method and Description |
---|---|
XMPPIOService<Object> |
selectConnection(Packet p,
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) |
protected static final String CLUSTER_SYS_CONNECTIONS_PER_NODE_PROP_KEY
public XMPPIOService<Object> selectConnection(Packet p, ClusterConnection conn)
ClusterConnectionSelectorIfc
selectConnection
in interface ClusterConnectionSelectorIfc
public void setClusterConnectionHandler(ClusterConnectionHandler handler)
setClusterConnectionHandler
in interface ClusterConnectionSelectorIfc
public void setProperties(Map<String,Object> props)
setProperties
in interface ClusterConnectionSelectorIfc
Copyright © 2019 "Tigase, Inc.". All rights reserved.