class LoggingReceiver extends Thread
org.apache.log4j.net.SocketAppender.html
.Modifier and Type | Class and Description |
---|---|
private class |
LoggingReceiver.Slurper
Helper that actually processes a client connection.
|
Thread.State, Thread.UncaughtExceptionHandler
Modifier and Type | Field and Description |
---|---|
private static Logger |
LOG
used to log messages
|
private MyTableModel |
mModel
where to put the events
|
private ServerSocket |
mSvrSock
server for listening for connections
|
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY
Constructor and Description |
---|
LoggingReceiver(MyTableModel aModel,
int aPort)
Creates a new
LoggingReceiver instance. |
Modifier and Type | Method and Description |
---|---|
void |
run()
Listens for client connections
|
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, yield
private MyTableModel mModel
private ServerSocket mSvrSock
LoggingReceiver(MyTableModel aModel, int aPort) throws IOException
LoggingReceiver
instance.aModel
- model to place put received intoaPort
- port to listen onIOException
- if an error occursWebARTS Library Licensed Under the GNU - General Public License. Other Libraries licensed under their respective Open Source Licenses