org.xnap.plugin.festival
Class FestivalMessageQueue

java.lang.Object
  extended by org.xnap.plugin.festival.FestivalMessageQueue

public class FestivalMessageQueue
extends java.lang.Object


Constructor Summary
FestivalMessageQueue()
           
 
Method Summary
 void addMessage(java.lang.String message)
           
 void clear()
           
 java.lang.String getMessage()
          Returns the next text message which should be sent to the festival process.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FestivalMessageQueue

public FestivalMessageQueue()
Method Detail

clear

public void clear()

addMessage

public void addMessage(java.lang.String message)

getMessage

public java.lang.String getMessage()
                            throws java.lang.InterruptedException
Returns the next text message which should be sent to the festival process.

Returns:
the text message to read aloud
Throws:
java.lang.InterruptedException - if the thread waiting for the next message was interrupted


Copyright © 2001-2005 XNap Team. All Rights Reserved.