Class RoomPresenceModule

java.lang.Object
tigase.stats.CounterValue
tigase.stats.Counter
tigase.stats.StatisticHolderImpl
tigase.pubsub.AbstractPubSubModule
tigase.mix.modules.RoomPresenceModule
All Implemented Interfaces:
tigase.component.modules.Module, tigase.kernel.beans.Initializable, tigase.kernel.beans.UnregisterAware, tigase.stats.StatisticHolder

@Bean(name="roomPresenceModule", parent=IMixComponent.class, active=true) public class RoomPresenceModule extends tigase.pubsub.AbstractPubSubModule implements tigase.kernel.beans.Initializable, tigase.kernel.beans.UnregisterAware
  • Field Details

  • Constructor Details

    • RoomPresenceModule

      public RoomPresenceModule()
  • Method Details

    • canHandle

      public boolean canHandle(tigase.server.Packet packet)
      Specified by:
      canHandle in interface tigase.component.modules.Module
      Overrides:
      canHandle in class tigase.pubsub.AbstractPubSubModule
    • getFeatures

      public String[] getFeatures()
      Specified by:
      getFeatures in interface tigase.component.modules.Module
    • getModuleCriteria

      public tigase.criteria.Criteria getModuleCriteria()
      Specified by:
      getModuleCriteria in interface tigase.component.modules.Module
    • process

      public void process(tigase.server.Packet packet) throws tigase.component.exceptions.ComponentException, tigase.util.stringprep.TigaseStringprepException
      Specified by:
      process in interface tigase.component.modules.Module
      Throws:
      tigase.component.exceptions.ComponentException
      tigase.util.stringprep.TigaseStringprepException
    • broadcastMessage

      public void broadcastMessage(tigase.xmpp.jid.BareJID channelJID, String senderNick, tigase.xml.Element message)
    • handleBroadcastMessageEvent

      @HandleEvent public void handleBroadcastMessageEvent(RoomPresenceModule.MucMessageBroadcastEvent event)
    • handleKickoutEvent

      @HandleEvent public void handleKickoutEvent(RoomGhostbuster.KickoutEvent event)
    • initialize

      public void initialize()
      Specified by:
      initialize in interface tigase.kernel.beans.Initializable
    • beforeUnregister

      public void beforeUnregister()
      Specified by:
      beforeUnregister in interface tigase.kernel.beans.UnregisterAware
    • participantJoined

      public void participantJoined(tigase.xmpp.jid.BareJID channelJID, tigase.xmpp.jid.JID occupant, String nick)
    • participantLeft

      public void participantLeft(tigase.xmpp.jid.BareJID channelJID, tigase.xmpp.jid.JID occupant, String nick)