|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.sf.dc.messages.Messages
Message queue. All classes can store a message in this class. The message will be queued and written to the logfile and logform when the program has time to do so. The writing and displaying of messages is done by the class MessageWriter. Last in last out mechanism is used
Field Summary | |
static int |
_ERROR
|
static int |
_LEAVEDATELESS
|
static int |
_QUERY
|
static int |
_SIMPLE
|
static int |
_STANDARD
|
static int |
_TABLESS
|
static boolean |
isNew
|
Constructor Summary | |
Messages()
Starts the message writer thread |
Method Summary | |
static void |
add(java.lang.String message,
int type)
Adds a message to the message pool |
static void |
add(java.lang.Throwable throwable)
Adds an error message to the message pool |
static java.lang.String |
getNewMessages()
Gets a message from the pool. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final int _STANDARD
public static final int _LEAVEDATELESS
public static final int _SIMPLE
public static final int _QUERY
public static final int _TABLESS
public static final int _ERROR
public static boolean isNew
Constructor Detail |
public Messages()
MessagesWriter
Method Detail |
public static void add(java.lang.Throwable throwable)
throwable
- error to logpublic static void add(java.lang.String message, int type)
message
- message Stringtype
- message typepublic static java.lang.String getNewMessages()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |