org.jwall.web.audit.net
Class SyslogReceiverThread

java.lang.Object
  extended by java.lang.Thread
      extended by org.jwall.web.audit.net.SyslogReceiverThread
All Implemented Interfaces:
Runnable

public class SyslogReceiverThread
extends Thread

This class is the central syslog-server thread. It waits for incoming connections and creates a new connection handler for each incoming call.

Author:
Christian Bockermann <chris@jwall.org>

Nested Class Summary
 
Nested classes/interfaces inherited from class java.lang.Thread
Thread.State, Thread.UncaughtExceptionHandler
 
Field Summary
 
Fields inherited from class java.lang.Thread
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY
 
Constructor Summary
SyslogReceiverThread(AuditEventListener l, InetAddress addr, Integer port)
           
SyslogReceiverThread(AuditEventListener l, Integer port)
           
 
Method Summary
 SocketAuthenticator getSocketAuthenticator()
           
 void run()
           
 void setSocketAuthenticator(SocketAuthenticator auth)
           
 void shutdown()
           
 
Methods inherited from class java.lang.Thread
activeCount, checkAccess, 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, yield
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

SyslogReceiverThread

public SyslogReceiverThread(AuditEventListener l,
                            Integer port)
                     throws Exception
Throws:
Exception

SyslogReceiverThread

public SyslogReceiverThread(AuditEventListener l,
                            InetAddress addr,
                            Integer port)
                     throws Exception
Throws:
Exception
Method Detail

setSocketAuthenticator

public void setSocketAuthenticator(SocketAuthenticator auth)

getSocketAuthenticator

public SocketAuthenticator getSocketAuthenticator()

run

public void run()
Specified by:
run in interface Runnable
Overrides:
run in class Thread

shutdown

public void shutdown()


Copyright © 2012 jwall.org. All Rights Reserved.