org.jwall.web.audit
Interface AuditEventListener

All Known Subinterfaces:
SessionTracker
All Known Implementing Classes:
AbstractSessionTracker, AuditEventConsoleSender, AuditEventQueue, AuditLogFileWriter, BufferedAuditEventWriter, CookieSessionTracker, HeuristicSessionTracker, NetworkClientWorkerThread, NetworkEventServer

public interface AuditEventListener

This interface defines the methods all AuditEvent persistence-classes have to implement. Also this interface needs to be implemented by the classes that are thought to register to an event dispatcher and are then notified on arrival of new events.

Author:
Christian Bockermann <chris@jwall.org>

Method Summary
 void eventArrived(AuditEvent evt)
          This method is called when a new event arrives at the listener.
 

Method Detail

eventArrived

void eventArrived(AuditEvent evt)
This method is called when a new event arrives at the listener. The Listener should be threaded and response-time to this method should be as small as possible. After the dispatcher calls this method each listener gets a call to notiy(), thus a listener might wait for packets to arrive.

Parameters:
evt -