public class AuditEventMLogcReceiver extends Thread implements AuditEventListener
This class implements a simple SSL based server component for receiving ModSecurity audit events from the mlogc application.
Thread.State, Thread.UncaughtExceptionHandlerMAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY| Constructor and Description |
|---|
AuditEventMLogcReceiver()
Create a new instance of this class.
|
| Modifier and Type | Method and Description |
|---|---|
void |
eventArrived(AuditEvent evt)
This method is called when a new event arrives at the listener.
|
void |
eventArrived(String sensorId,
AuditEvent evt) |
void |
eventsArrived(Collection<AuditEvent> evts)
This method is called for notifying the listener of arrival of
several events in a block.
|
static void |
main(String[] args) |
void |
run() |
activeCount, checkAccess, clone, countStackFrames, currentThread, destroy, dumpStack, enumerate, getAllStackTraces, getContextClassLoader, getDefaultUncaughtExceptionHandler, getId, getName, getPriority, getStackTrace, getState, getThreadGroup, getUncaughtExceptionHandler, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, resume, setContextClassLoader, setDaemon, setDefaultUncaughtExceptionHandler, setName, setPriority, setUncaughtExceptionHandler, sleep, sleep, start, stop, stop, suspend, toString, yieldpublic void eventArrived(String sensorId, AuditEvent evt)
public void eventArrived(AuditEvent evt)
AuditEventListener
After the dispatcher calls this method each listener gets a call to
#notify(), thus a listener might wait for packets to arrive.
eventArrived in interface EventListener<AuditEvent>eventArrived in interface AuditEventListenerevt - The event which arrived.public void eventsArrived(Collection<AuditEvent> evts)
AuditEventListenerAuditEventListener.eventArrived(AuditEvent) for each of the given
events, but may be handled in a more efficient way by implementations
capable of processing blocks of events.eventsArrived in interface AuditEventListenerevts - The block of events arrived.public static void main(String[] args)
args - Copyright © 2013 jwall.org. All Rights Reserved.