Class NotificationBroadcasterClustered


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

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void broadcastNotification​(tigase.pubsub.utils.executors.Executor.Priority priority, tigase.xmpp.jid.BareJID serviceJID, java.lang.String nodeName, tigase.xml.Element message)  
      void broadcastNotificationLocally​(tigase.pubsub.utils.executors.Executor.Priority priority, tigase.xmpp.jid.BareJID serviceJID, java.lang.String nodeName, tigase.xml.Element message)  
      protected boolean shouldBroadcast​(tigase.xmpp.jid.JID jid)
      Method checks if notifications should be sent on this node for passed JID
      • Methods inherited from class tigase.pubsub.NotificationBroadcaster

        prepareSender
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • NotificationBroadcasterClustered

        public NotificationBroadcasterClustered()
    • Method Detail

      • broadcastNotification

        public void broadcastNotification​(tigase.pubsub.utils.executors.Executor.Priority priority,
                                          tigase.xmpp.jid.BareJID serviceJID,
                                          java.lang.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,
                                                 java.lang.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: