|
QJCC homepage | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object java.lang.Thread biz.chitec.qdemo.util.UpdateableLoggerDemo.SimpleReceiver
Example receiver. Implements special handle thread. Normally, all receivers should do this to guarantee that the handleLogObject method does not need too much time (handling should be asynchronously from giving the handling information.
Field Summary | |
private java.lang.String |
lastfinishedmessage
|
private ThreadInterface |
ti
|
Fields inherited from class java.lang.Thread |
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY |
Constructor Summary | |
UpdateableLoggerDemo.SimpleReceiver(java.lang.String namex)
Constructor for the SimpleReceiver object |
Method Summary | |
java.lang.String |
getLastFinishedMessage()
Gets the lastFinishedMessage attribute of the SimpleReceiver object |
void |
handleLogObject(Logger src,
java.lang.Object o)
Interface method. |
void |
run()
Main processing method for the SimpleReceiver object |
Methods inherited from class java.lang.Thread |
activeCount, checkAccess, countStackFrames, currentThread, destroy, dumpStack, enumerate, getContextClassLoader, getName, getPriority, getThreadGroup, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, resume, setContextClassLoader, setDaemon, setName, setPriority, 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 |
private ThreadInterface ti
private java.lang.String lastfinishedmessage
Constructor Detail |
public UpdateableLoggerDemo.SimpleReceiver(java.lang.String namex)
namex
- Description of the ParameterMethod Detail |
public java.lang.String getLastFinishedMessage()
public void handleLogObject(Logger src, java.lang.Object o)
handleLogObject
in interface LoggingReceiver
src
- Description of the Parametero
- Description of the Parameterpublic void run()
run
in interface java.lang.Runnable
|
QJCC homepage | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |