com.cloudgarden.speech
Class SpeechEventThread

java.lang.Object
  |
  +--java.lang.Thread
        |
        +--com.cloudgarden.speech.SpeechEventThread
All Implemented Interfaces:
java.lang.Runnable

public class SpeechEventThread
extends java.lang.Thread

If CGEngineProperties.setEventsInNewThread enables speech events to be started each in a new thread, then the threads they are started in are all SpeechEventThreads. It is therefore possible to tell whether the current thread is a speech event thread by the result of "Thread.getCurrentThread() instanceof SpeechEventThread"


Fields inherited from class java.lang.Thread
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY
 
Constructor Summary
SpeechEventThread()
          Creates new SpeechEventThread
 
Methods inherited from class java.lang.Thread
activeCount, checkAccess, countStackFrames, currentThread, destroy, dumpStack, enumerate, getContextClassLoader, getName, getPriority, getThreadGroup, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, resume, run, setContextClassLoader, setDaemon, setName, setPriority, 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
 

Constructor Detail

SpeechEventThread

public SpeechEventThread()
Creates new SpeechEventThread