|
||||||||||
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.dummy.UtterancePreparationTestComponent
public class UtterancePreparationTestComponent
Nested Class Summary | |
---|---|
protected static class |
UtterancePreparationTestComponent.Action
|
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 | |
---|---|
UtterancePreparationTestComponent()
Creates a new instance of TTSInputComponent |
Method Summary | |
---|---|
protected void |
act()
Proactive actions. |
boolean |
isReady(java.lang.String contentID)
|
protected void |
react(SEMAINEMessage m)
Reactions to messages. |
void |
triggerAction(UtterancePreparationTestComponent.Action action,
java.lang.String text,
java.lang.String id)
|
Methods inherited from class eu.semaine.components.Component |
---|
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 |
---|
public UtterancePreparationTestComponent() throws JMSException
JMSException
Method Detail |
---|
public void triggerAction(UtterancePreparationTestComponent.Action action, java.lang.String text, java.lang.String id)
protected void act() throws JMSException
Component
Component.waitingTime
milliseconds if no messages arrive, and after every message processing.
This base implementation does nothing; subclasses should implement
suitable behaviour here.
act
in class Component
JMSException
- if communication with the JMS server goes wrong.public boolean isReady(java.lang.String contentID)
protected void react(SEMAINEMessage m) throws java.lang.Exception
Component
react
in class Component
java.lang.Exception
- if anything goes wrong in the internal processing of the component.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |