Class LoginHistory

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

    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 getComponentJid()  
      void init​(java.util.Map<java.lang.String,​java.lang.Object> settings)  
      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, concurrentThreadsPerQueue, getComponentInfo, getInstance, getStatistics, isSupporting, supElements, 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, concurrentThreadsPerQueue, getComponentInfo, getStatistics, id, isSupporting, supDiscoFeatures, supElementNamePaths, supElements, supNamespaces, supStreamFeatures, supTypes
    • Constructor Detail

      • LoginHistory

        public LoginHistory()
    • Method Detail

      • getComponentJid

        public tigase.xmpp.JID getComponentJid()
      • init

        public void init​(java.util.Map<java.lang.String,​java.lang.Object> settings)
                  throws tigase.db.TigaseDBException
        Specified by:
        init in interface tigase.xmpp.XMPPImplIfc
        Overrides:
        init in class tigase.xmpp.XMPPProcessor
        Throws:
        tigase.db.TigaseDBException
      • 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