Package tigase.muc

Class Ghostbuster2

  • All Implemented Interfaces:
    java.lang.Runnable, tigase.kernel.beans.config.ConfigurationChangedAware, tigase.kernel.beans.Initializable, tigase.kernel.beans.UnregisterAware

    @Bean(name="ghostbuster",
          parent=MUCComponent.class,
          active=true)
    public class Ghostbuster2
    extends tigase.component.ScheduledTask
    Author:
    bmalkow
    • Field Summary

      Fields 
      Modifier and Type Field Description
      protected java.util.logging.Logger log  
      protected java.util.Map<tigase.xmpp.jid.JID,​Ghostbuster2.MonitoredObject> monitoredObjects  
      static java.util.Set<java.lang.String> R  
      • Fields inherited from class tigase.component.ScheduledTask

        component
    • Constructor Summary

      Constructors 
      Constructor Description
      Ghostbuster2()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void add​(tigase.xmpp.jid.JID occupantJid, Room room)  
      PresenceModule getPresenceModule()  
      void kickJIDFromRooms​(tigase.xmpp.jid.JID jid, java.util.Collection<tigase.xmpp.jid.BareJID> rooms)  
      protected void onPingReceived​(tigase.server.Packet packet)  
      protected void onPingTimeout​(tigase.xmpp.jid.JID stanzaTo)  
      void ping()  
      void remove​(java.util.Collection<tigase.xmpp.jid.JID> occupantJids, Room room)  
      void remove​(tigase.xmpp.jid.JID occupantJid, Room room)  
      void run()  
      void setPresenceModule​(PresenceModule presenceModule)  
      void update​(tigase.server.Packet packet)  
      • Methods inherited from class tigase.component.ScheduledTask

        beanConfigurationChanged, beforeUnregister, initialize
      • Methods inherited from class tigase.util.common.TimerTask

        cancel, cancel, isCancelled, isScheduled, reset, setScheduledFuture
      • Methods inherited from class java.lang.Object

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

      • R

        public static final java.util.Set<java.lang.String> R
      • log

        protected java.util.logging.Logger log
    • Constructor Detail

      • Ghostbuster2

        public Ghostbuster2()
    • Method Detail

      • add

        public void add​(tigase.xmpp.jid.JID occupantJid,
                        Room room)
      • setPresenceModule

        public void setPresenceModule​(PresenceModule presenceModule)
      • ping

        public void ping()
                  throws tigase.util.stringprep.TigaseStringprepException
        Throws:
        tigase.util.stringprep.TigaseStringprepException
      • remove

        public void remove​(java.util.Collection<tigase.xmpp.jid.JID> occupantJids,
                           Room room)
      • remove

        public void remove​(tigase.xmpp.jid.JID occupantJid,
                           Room room)
      • run

        public void run()
      • update

        public void update​(tigase.server.Packet packet)
                    throws tigase.util.stringprep.TigaseStringprepException
        Throws:
        tigase.util.stringprep.TigaseStringprepException
      • kickJIDFromRooms

        public void kickJIDFromRooms​(tigase.xmpp.jid.JID jid,
                                     java.util.Collection<tigase.xmpp.jid.BareJID> rooms)
                              throws tigase.util.stringprep.TigaseStringprepException
        Throws:
        tigase.util.stringprep.TigaseStringprepException
      • onPingReceived

        protected void onPingReceived​(tigase.server.Packet packet)
                               throws tigase.util.stringprep.TigaseStringprepException
        Throws:
        tigase.util.stringprep.TigaseStringprepException
      • onPingTimeout

        protected void onPingTimeout​(tigase.xmpp.jid.JID stanzaTo)
                              throws tigase.util.stringprep.TigaseStringprepException
        Throws:
        tigase.util.stringprep.TigaseStringprepException