eu.semaine.components.meta
Class SystemManager

java.lang.Object
  extended by java.lang.Thread
      extended by eu.semaine.components.Component
          extended by eu.semaine.components.meta.SystemManager
All Implemented Interfaces:
SEMAINEMessageAvailableListener, java.lang.Runnable

public final class SystemManager
extends Component

Communication between a component and the system manager, transporting meta messages about the state of the component and of the system. We extend Component so that it is easy to start the system manager, but we do things differently from normal modules. so we override run() rather than act() and react().

Author:
marc

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
 
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
SystemManager()
           
 
Method Summary
 void onMessage(Message m)
           
 void run()
           
 
Methods inherited from class eu.semaine.components.Component
act, customStartIO, exitRequested, getMeta, hasSystemJustBecomeReady, messageAvailableFrom, react, requestExit
 
Methods inherited from class java.lang.Thread
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
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

SystemManager

public SystemManager()
              throws JMSException
Throws:
JMSException
Method Detail

onMessage

public void onMessage(Message m)

run

public void run()
Specified by:
run in interface java.lang.Runnable
Overrides:
run in class Component