org.mechio.api.speech.utils
Class NaiveSpeechJobManagerImpl

java.lang.Object
  extended by org.mechio.api.speech.utils.NaiveSpeechJobManagerImpl
All Implemented Interfaces:
SpeechJobManager

public class NaiveSpeechJobManagerImpl
extends Object
implements SpeechJobManager

Author:
matt

Constructor Summary
NaiveSpeechJobManagerImpl(SpeechService speechProxy)
           
 
Method Summary
 void cancelSpeechJob(SpeechJob job)
           
 SpeechJob createSpeechJob(SpeechRequest req)
          Adds text to the speech queue.
 String getRequestIdString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NaiveSpeechJobManagerImpl

public NaiveSpeechJobManagerImpl(SpeechService speechProxy)
Method Detail

createSpeechJob

public SpeechJob createSpeechJob(SpeechRequest req)
Adds text to the speech queue.

Specified by:
createSpeechJob in interface SpeechJobManager
Parameters:
text - text to speak
Returns:
SpeechJob which represents the speech

cancelSpeechJob

public void cancelSpeechJob(SpeechJob job)
Specified by:
cancelSpeechJob in interface SpeechJobManager

getRequestIdString

public String getRequestIdString()
Specified by:
getRequestIdString in interface SpeechJobManager


Copyright © 2011-2015. All Rights Reserved.