Class NotificationBroadcasterClustered

java.lang.Object
tigase.pubsub.NotificationBroadcaster
tigase.pubsub.cluster.NotificationBroadcasterClustered

@Bean(name="notificationBroadcaster", parent=PubSubComponentClustered.class, active=true) public class NotificationBroadcasterClustered extends tigase.pubsub.NotificationBroadcaster
  • Constructor Details

    • NotificationBroadcasterClustered

      public NotificationBroadcasterClustered()
  • Method Details

    • broadcastNotification

      public void broadcastNotification(tigase.pubsub.utils.executors.Executor.Priority priority, tigase.xmpp.jid.BareJID serviceJID, String nodeName, tigase.xml.Element message) throws tigase.component.exceptions.RepositoryException
      Overrides:
      broadcastNotification in class tigase.pubsub.NotificationBroadcaster
      Throws:
      tigase.component.exceptions.RepositoryException
    • broadcastNotificationLocally

      public void broadcastNotificationLocally(tigase.pubsub.utils.executors.Executor.Priority priority, tigase.xmpp.jid.BareJID serviceJID, String nodeName, tigase.xml.Element message) throws tigase.component.exceptions.RepositoryException
      Throws:
      tigase.component.exceptions.RepositoryException
    • shouldBroadcast

      protected boolean shouldBroadcast(tigase.xmpp.jid.JID jid)
      Method checks if notifications should be sent on this node for passed JID
      Overrides:
      shouldBroadcast in class tigase.pubsub.NotificationBroadcaster
      Parameters:
      jid -
      Returns: