|
QJCC homepage | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object biz.chitec.qdemo.util.UpdateableLoggerDemo
Demonstration program for updateable loggers.
Nested Class Summary | |
private class |
UpdateableLoggerDemo.BackgroundLogDataCreator
Dummy log data creator. |
private class |
UpdateableLoggerDemo.ExampleUpdaterFactory
The updater factory with integreated updater implementation. |
private class |
UpdateableLoggerDemo.OutputThread
Description of the Class |
private class |
UpdateableLoggerDemo.SimpleReceiver
Example receiver. |
Field Summary | |
ConsoleWrapper |
cw
The output facility |
static int |
RECEIVERCOUNT
The number of receivers. |
static java.util.Random |
rndgen
A random number generator |
UpdateableLogger |
ul
The logger whose capabilities are demonstrated. |
Constructor Summary | |
UpdateableLoggerDemo()
|
Method Summary | |
static int |
getRandomNumber(int min,
int max)
Returns a random number within the given range, both included. |
static void |
main(java.lang.String[] args)
The main program for the UpdateableLoggerDemo class |
void |
runDemonstration()
Do the demo |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final int RECEIVERCOUNT
public ConsoleWrapper cw
public UpdateableLogger ul
public static final java.util.Random rndgen
Constructor Detail |
public UpdateableLoggerDemo()
Method Detail |
public static final int getRandomNumber(int min, int max)
min
- Description of the Parametermax
- Description of the Parameter
public void runDemonstration()
public static void main(java.lang.String[] args)
args
- The command line arguments
|
QJCC homepage | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |