Class LoginHistory

  • All Implemented Interfaces:
    java.lang.Comparable<tigase.xmpp.XMPPImplIfc>, tigase.xmpp.XMPPImplIfc, tigase.xmpp.XMPPPacketFilterIfc, tigase.xmpp.XMPPProcessorConcurrencyAwareIfc, tigase.xmpp.XMPPStopListenerIfc

    @Bean(name="login-history",
          parent=tigase.server.xmppsession.SessionManager.class,
          active=false)
    public class LoginHistory
    extends tigase.xmpp.impl.annotation.AnnotatedXMPPProcessor
    implements tigase.xmpp.XMPPPacketFilterIfc, tigase.xmpp.XMPPStopListenerIfc
    Support for storage of informations about login/logout events
    Author:
    andrzej
    • Field Summary

      Fields 
      Modifier and Type Field Description
      protected static java.lang.String ID  
      • Fields inherited from class tigase.xmpp.XMPPProcessor

        ALL_NAMES, ALL_PATHS, cmpInfo
      • Fields inherited from interface tigase.xmpp.XMPPImplIfc

        CLIENT_XMLNS
    • Constructor Summary

      Constructors 
      Constructor Description
      LoginHistory()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void filter​(tigase.server.Packet packet, tigase.xmpp.XMPPResourceConnection session, tigase.db.NonAuthUserRepository repo, java.util.Queue<tigase.server.Packet> results)  
      tigase.xmpp.jid.JID getComponentJid()  
      void stopped​(tigase.xmpp.XMPPResourceConnection session, java.util.Queue<tigase.server.Packet> results, java.util.Map<java.lang.String,​java.lang.Object> settings)  
      • Methods inherited from class tigase.xmpp.impl.annotation.AnnotatedXMPPProcessor

        id, supDiscoFeatures, supElementNamePaths, supNamespaces, supStreamFeatures, supTypes
      • Methods inherited from class tigase.xmpp.XMPPProcessor

        canHandle, compareTo, concurrentQueuesNo, getComponentInfo, getInstance, getQueueSize, getStatistics, getThreadsNo, init, toString
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
      • Methods inherited from interface java.lang.Comparable

        compareTo
      • Methods inherited from interface tigase.xmpp.XMPPImplIfc

        canHandle, concurrentQueuesNo, getComponentInfo, getStatistics, id, init, supDiscoFeatures, supElementNamePaths, supNamespaces, supStreamFeatures, supTypes
    • Constructor Detail

      • LoginHistory

        public LoginHistory()
    • Method Detail

      • getComponentJid

        public tigase.xmpp.jid.JID getComponentJid()
      • filter

        public void filter​(tigase.server.Packet packet,
                           tigase.xmpp.XMPPResourceConnection session,
                           tigase.db.NonAuthUserRepository repo,
                           java.util.Queue<tigase.server.Packet> results)
        Specified by:
        filter in interface tigase.xmpp.XMPPPacketFilterIfc
      • stopped

        public void stopped​(tigase.xmpp.XMPPResourceConnection session,
                            java.util.Queue<tigase.server.Packet> results,
                            java.util.Map<java.lang.String,​java.lang.Object> settings)
        Specified by:
        stopped in interface tigase.xmpp.XMPPStopListenerIfc