|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objecttigase.server.BasicComponent
tigase.server.AbstractComponentRegistrator<ClusteredComponentIfc>
tigase.cluster.ClusterController
public class ClusterController
Describe class ClusterController here. Created: Mon Jun 9 20:03:28 2008
| Field Summary | |
|---|---|
static String |
MY_DOMAIN_NAME_PROP_KEY
Field description |
static String |
MY_DOMAIN_NAME_PROP_VAL
Field description |
| Fields inherited from class tigase.server.AbstractComponentRegistrator |
|---|
components |
| Fields inherited from class tigase.server.BasicComponent |
|---|
admins, ALL_PROP_KEY, COMMAND_PROP_NODE, scriptCommands, SCRIPTS_DIR_PROP_DEF, SCRIPTS_DIR_PROP_KEY, vHostManager |
| Fields inherited from interface tigase.cluster.api.ClusterControllerIfc |
|---|
DELIVER_CLUSTER_PACKET_CMD |
| Fields inherited from interface tigase.disco.XMPPService |
|---|
CMD_FEATURES, DEF_FEATURES, INFO_XMLNS, ITEMS_XMLNS |
| Constructor Summary | |
|---|---|
ClusterController()
|
|
| Method Summary | |
|---|---|
void |
componentAdded(ClusteredComponentIfc component)
Method description |
void |
componentRemoved(ClusteredComponentIfc component)
Method description |
Map<String,Object> |
getDefaults(Map<String,Object> params)
Method description |
String |
getDiscoCategoryType()
Method description |
String |
getDiscoDescription()
Method description |
void |
handleClusterPacket(tigase.xml.Element packet)
Method description |
boolean |
isCorrectType(ServerComponent component)
Method description |
void |
nodeConnected(String node)
Method description |
void |
nodeDisconnected(String node)
Method description |
void |
processPacket(Packet packet,
Queue<Packet> results)
Method description |
void |
removeCommandListener(String command,
CommandListener listener)
Method description |
void |
sendToNodes(String command,
tigase.xml.Element packet,
tigase.xmpp.JID fromNode,
Set<tigase.xmpp.JID> visitedNodes,
tigase.xmpp.JID... toNodes)
Method description |
void |
sendToNodes(String command,
tigase.xmpp.JID fromNode,
tigase.xmpp.JID... toNodes)
Method description |
void |
sendToNodes(String command,
Map<String,String> data,
tigase.xml.Element packet,
tigase.xmpp.JID fromNode,
Set<tigase.xmpp.JID> visitedNodes,
tigase.xmpp.JID... toNodes)
Method description |
void |
sendToNodes(String command,
Map<String,String> data,
tigase.xmpp.JID fromNode,
tigase.xmpp.JID... toNodes)
Method description |
void |
sendToNodes(String command,
Map<String,String> data,
tigase.xmpp.JID fromNode,
Set<tigase.xmpp.JID> visitedNodes,
tigase.xmpp.JID... toNodes)
Method description |
void |
sendToNodes(String command,
Map<String,String> data,
Queue<tigase.xml.Element> packets,
tigase.xmpp.JID fromNode,
Set<tigase.xmpp.JID> visitedNodes,
tigase.xmpp.JID... toNodes)
Method description |
void |
sendToNodes(String command,
Queue<tigase.xml.Element> packets,
tigase.xmpp.JID fromNode,
Set<tigase.xmpp.JID> visitedNodes,
tigase.xmpp.JID... toNodes)
Method description |
void |
setCommandListener(String command,
CommandListener listener)
Method description |
void |
setName(String name)
Method description |
void |
setProperties(Map<String,Object> properties)
Method description |
| Methods inherited from class tigase.server.AbstractComponentRegistrator |
|---|
addComponent, deleteComponent, getComponent, newPacketId, release |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface tigase.server.ServerComponent |
|---|
getComponentId, getName, initializationCompleted, isInitializationComplete, release |
| Field Detail |
|---|
public static final String MY_DOMAIN_NAME_PROP_KEY
public static final String MY_DOMAIN_NAME_PROP_VAL
| Constructor Detail |
|---|
public ClusterController()
| Method Detail |
|---|
public void componentAdded(ClusteredComponentIfc component)
componentAdded in class AbstractComponentRegistrator<ClusteredComponentIfc>component - public void componentRemoved(ClusteredComponentIfc component)
componentRemoved in class AbstractComponentRegistrator<ClusteredComponentIfc>component - public Map<String,Object> getDefaults(Map<String,Object> params)
getDefaults in interface ConfigurablegetDefaults in class BasicComponentparams -
public String getDiscoCategoryType()
getDiscoCategoryType in class BasicComponentpublic String getDiscoDescription()
getDiscoDescription in class BasicComponentpublic boolean isCorrectType(ServerComponent component)
isCorrectType in class AbstractComponentRegistrator<ClusteredComponentIfc>component -
public void nodeConnected(String node)
nodeConnected in interface ClusterControllerIfcnode - public void nodeDisconnected(String node)
nodeDisconnected in interface ClusterControllerIfcnode -
public void processPacket(Packet packet,
Queue<Packet> results)
processPacket in interface ServerComponentprocessPacket in class BasicComponentpacket - results - public void setName(String name)
setName in interface ServerComponentsetName in class BasicComponentname - public void setProperties(Map<String,Object> properties)
setProperties in interface ConfigurablesetProperties in class BasicComponentproperties - public void handleClusterPacket(tigase.xml.Element packet)
handleClusterPacket in interface ClusterControllerIfcpacket -
public void sendToNodes(String command,
Map<String,String> data,
Queue<tigase.xml.Element> packets,
tigase.xmpp.JID fromNode,
Set<tigase.xmpp.JID> visitedNodes,
tigase.xmpp.JID... toNodes)
sendToNodes in interface ClusterControllerIfccommand - data - packets - fromNode - visitedNodes - toNodes -
public void sendToNodes(String command,
Queue<tigase.xml.Element> packets,
tigase.xmpp.JID fromNode,
Set<tigase.xmpp.JID> visitedNodes,
tigase.xmpp.JID... toNodes)
sendToNodes in interface ClusterControllerIfccommand - packets - fromNode - visitedNodes - toNodes -
public void sendToNodes(String command,
Map<String,String> data,
tigase.xmpp.JID fromNode,
Set<tigase.xmpp.JID> visitedNodes,
tigase.xmpp.JID... toNodes)
sendToNodes in interface ClusterControllerIfccommand - data - fromNode - visitedNodes - toNodes -
public void sendToNodes(String command,
Map<String,String> data,
tigase.xmpp.JID fromNode,
tigase.xmpp.JID... toNodes)
sendToNodes in interface ClusterControllerIfccommand - data - fromNode - toNodes -
public void sendToNodes(String command,
tigase.xmpp.JID fromNode,
tigase.xmpp.JID... toNodes)
sendToNodes in interface ClusterControllerIfccommand - fromNode - toNodes -
public void setCommandListener(String command,
CommandListener listener)
setCommandListener in interface ClusterControllerIfccommand - listener -
public void removeCommandListener(String command,
CommandListener listener)
removeCommandListener in interface ClusterControllerIfccommand - listener -
public void sendToNodes(String command,
tigase.xml.Element packet,
tigase.xmpp.JID fromNode,
Set<tigase.xmpp.JID> visitedNodes,
tigase.xmpp.JID... toNodes)
sendToNodes in interface ClusterControllerIfccommand - packet - fromNode - visitedNodes - toNodes -
public void sendToNodes(String command,
Map<String,String> data,
tigase.xml.Element packet,
tigase.xmpp.JID fromNode,
Set<tigase.xmpp.JID> visitedNodes,
tigase.xmpp.JID... toNodes)
sendToNodes in interface ClusterControllerIfccommand - data - packet - fromNode - visitedNodes - toNodes -
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||