eu.semaine.components.dummy
Class DummyActionSelection

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

public class DummyActionSelection
extends Component

This dummy action selection accepts all candidates.

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
DummyActionSelection()
           
 
Method Summary
protected  void react(SEMAINEMessage m)
          Reactions to messages.
 
Methods inherited from class eu.semaine.components.Component
act, customStartIO, exitRequested, getMeta, hasSystemJustBecomeReady, messageAvailableFrom, requestExit, run
 
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

DummyActionSelection

public DummyActionSelection()
                     throws JMSException
Parameters:
componentName -
Throws:
JMSException
Method Detail

react

protected void react(SEMAINEMessage m)
              throws JMSException
Description copied from class: Component
Reactions to messages. This base implementation does nothing; subclasses should implement suitable behaviour here.

Overrides:
react in class Component
Throws:
JMSException - if communication with the JMS server goes wrong.