Package tigase.mix.cluster
Class PartitionedChannelsStrategy
- java.lang.Object
-
- tigase.pubsub.cluster.AbstractStrategy
-
- tigase.pubsub.cluster.PartitionedStrategy
-
- tigase.mix.cluster.PartitionedChannelsStrategy
-
- All Implemented Interfaces:
tigase.kernel.beans.Initializable,tigase.kernel.beans.UnregisterAware,StrategyIfc,tigase.mix.model.RoomGhostbuster.GhostbusterFilter,tigase.mix.modules.RoomPresenceModule.MucMessageBroadcastFilter,tigase.pubsub.cluster.StrategyIfc
public class PartitionedChannelsStrategy extends tigase.pubsub.cluster.PartitionedStrategy implements StrategyIfc
-
-
Constructor Summary
Constructors Constructor Description PartitionedChannelsStrategy()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidchannelConfigurationChanged(tigase.xmpp.jid.BareJID channelJID, tigase.xml.Element item)tigase.xmpp.jid.JIDgetNodeForServiceNode(tigase.xmpp.jid.JID serviceJid, java.lang.String node)voidinvalidateChannelParticipant(tigase.xmpp.jid.BareJID channelJID, tigase.xmpp.jid.BareJID participanJID)booleanshouldBroadcastMucMessage(tigase.xmpp.jid.JID recipient)booleanshouldSendPing(tigase.xmpp.jid.JID recipient)voidtempParticipantAdded(tigase.xmpp.jid.BareJID channelJID, tigase.xmpp.jid.JID jid, java.lang.String nickname)voidtempParticipantRemoved(tigase.xmpp.jid.BareJID channelJID, tigase.xmpp.jid.JID jid, java.lang.String nickname)-
Methods inherited from class tigase.pubsub.cluster.PartitionedStrategy
filterOutPacket, getNodesForPacket, isLocalNode, isOnlineLocally, nodeAddedToCollection, nodeAddedToRootCollection, nodeAffiliationsChanged, nodeConfigurationChanged, nodeRemovedFromCollection, nodeRemovedFromRootCollection, nodeSubscriptionsChanged, notifyNodeConfigurationChanges, packetProcessed, presenceCapsChanged, presenceCapsRemoved, userRemoved
-
Methods inherited from class tigase.pubsub.cluster.AbstractStrategy
beforeUnregister, getLocalNodeJid, getNodeForHashCode, getNodeForServiceJid, getNodesConnected, getNodesConnectedWithLocal, initialize, isNodeConfigure, newNodeSubscriptions, nodeConnected, nodeDisconnected, prepareCommandData, requestSync, sendException, setClusterController, setConfig, setLocalNodeJid, setPubSubComponent, wrapNodeConfig
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface tigase.pubsub.cluster.StrategyIfc
broadcastNotification, filterOutPacket, getLocalNodeJid, getNodesConnected, getNodesConnectedWithLocal, getNodesForPacket, isLocalNode, isOnlineLocally, newNodeSubscriptions, nodeAddedToCollection, nodeAddedToRootCollection, nodeAffiliationsChanged, nodeConfigurationChanged, nodeConnected, nodeDisconnected, nodeRemovedFromCollection, nodeRemovedFromRootCollection, nodeSubscriptionsChanged, packetProcessed, presenceCapsChanged, presenceCapsRemoved, sendException, setClusterController, setConfig, setPubSubComponent, shouldBroadcastNotificationLocallyFor, userRemoved, wrapNodeConfig
-
-
-
-
Method Detail
-
getNodeForServiceNode
public tigase.xmpp.jid.JID getNodeForServiceNode(tigase.xmpp.jid.JID serviceJid, java.lang.String node)- Overrides:
getNodeForServiceNodein classtigase.pubsub.cluster.PartitionedStrategy
-
channelConfigurationChanged
public void channelConfigurationChanged(tigase.xmpp.jid.BareJID channelJID, tigase.xml.Element item)- Specified by:
channelConfigurationChangedin interfaceStrategyIfc
-
invalidateChannelParticipant
public void invalidateChannelParticipant(tigase.xmpp.jid.BareJID channelJID, tigase.xmpp.jid.BareJID participanJID)- Specified by:
invalidateChannelParticipantin interfaceStrategyIfc
-
tempParticipantAdded
public void tempParticipantAdded(tigase.xmpp.jid.BareJID channelJID, tigase.xmpp.jid.JID jid, java.lang.String nickname)- Specified by:
tempParticipantAddedin interfaceStrategyIfc
-
tempParticipantRemoved
public void tempParticipantRemoved(tigase.xmpp.jid.BareJID channelJID, tigase.xmpp.jid.JID jid, java.lang.String nickname)- Specified by:
tempParticipantRemovedin interfaceStrategyIfc
-
shouldBroadcastMucMessage
public boolean shouldBroadcastMucMessage(tigase.xmpp.jid.JID recipient)
- Specified by:
shouldBroadcastMucMessagein interfacetigase.mix.modules.RoomPresenceModule.MucMessageBroadcastFilter
-
shouldSendPing
public boolean shouldSendPing(tigase.xmpp.jid.JID recipient)
- Specified by:
shouldSendPingin interfacetigase.mix.model.RoomGhostbuster.GhostbusterFilter
-
-