Class LoginHistory

java.lang.Object
tigase.xmpp.XMPPProcessor
tigase.xmpp.impl.annotation.AnnotatedXMPPProcessor
tigase.archive.unified.processors.LoginHistory
All Implemented Interfaces:
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 final String
     

    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
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    filter(tigase.server.Packet packet, tigase.xmpp.XMPPResourceConnection session, tigase.db.NonAuthUserRepository repo, Queue<tigase.server.Packet> results)
     
    tigase.xmpp.jid.JID
     
    void
    stopped(tigase.xmpp.XMPPResourceConnection session, Queue<tigase.server.Packet> results, Map<String,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
  • Field Details

  • Constructor Details

    • LoginHistory

      public LoginHistory()
  • Method Details

    • getComponentJid

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

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

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