| 
 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.lang.Thread
eu.semaine.components.Component
eu.semaine.components.MessageLogComponent
public class MessageLogComponent
This component can be used to view all or a selection of components. It writes debug output to the JMSLogger. Add this to the component list in the config file if you want detailed log info.
| Nested Class Summary | 
|---|
| Nested classes/interfaces inherited from class eu.semaine.components.Component | 
|---|
| Component.State | 
| Nested classes/interfaces inherited from class java.lang.Thread | 
|---|
| java.lang.Thread.UncaughtExceptionHandler | 
| Field Summary | |
|---|---|
| static java.text.DateFormat | TIME_FORMAT | 
| Fields inherited from class eu.semaine.components.Component | 
|---|
| inputWaiting, isInput, isOutput, log, meta, receivers, senders, state, waitingTime | 
| Fields inherited from class java.lang.Thread | 
|---|
| MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY | 
| Constructor Summary | |
|---|---|
| MessageLogComponent(java.lang.String topic,
                    java.lang.String messageSelector) | |
| Method Summary | |
|---|---|
| static java.lang.String | message2logString(SEMAINEMessage m) | 
| protected  void | react(SEMAINEMessage m)Reactions to messages. | 
| Methods inherited from class eu.semaine.components.Component | 
|---|
| act, customStartIO, exitRequested, messageAvailableFrom, requestExit, 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 | 
|---|
public static final java.text.DateFormat TIME_FORMAT
| Constructor Detail | 
|---|
public MessageLogComponent(java.lang.String topic,
                           java.lang.String messageSelector)
                    throws javax.jms.JMSException
componentName - 
javax.jms.JMSException| Method Detail | 
|---|
protected void react(SEMAINEMessage m)
              throws javax.jms.JMSException
Component
react in class Componentjavax.jms.JMSException - if communication with the JMS server goes wrong.public static java.lang.String message2logString(SEMAINEMessage m)
| 
 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||