org.jwall
Class AuditServer

java.lang.Object
  extended by java.lang.Thread
      extended by org.jwall.AuditServer
All Implemented Interfaces:
java.lang.Runnable

public class AuditServer
extends java.lang.Thread

This class encapsulates the AuditEvent server. It starts a server-process, listening for incoming ssl-connections on the specified port (default port is 10001). This is all handled by the org.jwall.audit.net.NetworkEventServer class. This class mainly parses the config and commandline settings and starts the basic server-thread.

Author:
Christian Bockermann <chris@jwall.org>

Nested Class Summary
 
Nested classes/interfaces inherited from class java.lang.Thread
java.lang.Thread.State, java.lang.Thread.UncaughtExceptionHandler
 
Field Summary
static boolean DEBUG
           
static boolean finished
           
static java.lang.String VERSION
           
 
Fields inherited from class java.lang.Thread
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY
 
Constructor Summary
AuditServer()
           
 
Method Summary
static void daemonize()
           
static void log(java.lang.String msg)
           
static void main(java.lang.String[] args)
           
static void printUsage()
           
 void run()
           
 
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
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

VERSION

public static final java.lang.String VERSION
See Also:
Constant Field Values

DEBUG

public static final boolean DEBUG

finished

public static boolean finished
Constructor Detail

AuditServer

public AuditServer()
Method Detail

run

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

main

public static void main(java.lang.String[] args)

daemonize

public static void daemonize()
                      throws java.lang.Exception
Throws:
java.lang.Exception

printUsage

public static void printUsage()

log

public static void log(java.lang.String msg)