public abstract class AbstractSpeechSynthesis extends Service implements SpeechSynthesis
Modifier and Type | Field and Description |
---|---|
static org.slf4j.Logger |
log |
cfgDir, dnaPool, MESSAGE_RECORDING_FORMAT_BINARY, MESSAGE_RECORDING_FORMAT_XML
Constructor and Description |
---|
AbstractSpeechSynthesis(java.lang.String reservedKey) |
Modifier and Type | Method and Description |
---|---|
void |
attach(Attachable attachable)
attach method responsible for routing to type-mangled attach
|
void |
attachTextPublisher(TextPublisher textPublisher) |
void |
detach(Attachable attachable)
detach method responsible for routing to type-mangled attach
|
void |
detachTextPublisher(TextPublisher textPublisher) |
java.lang.String |
publishEndSpeaking(java.lang.String utterance)
stop callback for speech synth.
|
java.lang.String |
publishStartSpeaking(java.lang.String utterance)
start callback for speech synth.
|
addListener, addListener, addTask, addTask, addTask, addTaskOneShot, allowDisplay, allowDisplay, attach, broadcastState, buildDna, buildDna, buildDnaKeys, buildDnaNames, clearLastError, close, containsTask, copyShallowFrom, createPeer, createPeer, createRootReserved, detach, detach, echoHeartbeat, error, error, error, getAttached, getCfgDir, getComm, getDeclaredMethodNames, getDeclaredMethods, getDescription, getDna, getDnaString, getHostName, getInbox, getInstanceId, getIntanceName, getInterfaceSet, getLastError, getMessageSet, getMetaData, getMethodMap, getMethodNames, getMethods, getMethodToolTip, getMsg, getName, getNotifyList, getNotifyListKeySet, getOutbox, getPeerKey, getPeerName, getServiceResourceFile, getSimpleName, getTasks, getThisThread, getType, hasError, hasPeers, help, help, in, info, info, invoke, invoke, invoke, invokeOn, isAttached, isAttached, isLocal, isReady, isRunning, isRuntime, isVirtual, load, load, logTimeEnable, mergeDna, mergeDna, mergePeerDna, movePeerDna, out, out, preProcessHook, preRoutingHook, publishError, publishQueueStats, publishState, publishStats, publishStatus, purgeTask, purgeTasks, releasePeers, releaseService, removeAllListeners, removeListener, requiresSecurity, reserve, reserve, reserveRoot, reserveRoot, reserveRootAs, run, save, save, save, send, send, send, send, sendBlocking, sendBlocking, sendBlocking, sendBlocking, sendPeer, setInstanceId, setName, setPeer, setSecurityProvider, setState, setThisThread, setVirtual, sleep, stackToString, startHeartbeat, startPeer, startPeer, startRecording, startService, stopHeartbeat, stopMsgRecording, stopService, subscribe, subscribe, subscribe, toString, unsubscribe, unsubscribe, unsubscribe, updateStats, warn, warn
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
addEar, getLanguage, getLanguages, getLocalFileName, getVoice, getVoices, getVolume, interrupt, onRequestConfirmation, setLanguage, setVoice, setVolume, speak, speakBlocking
getName
public AbstractSpeechSynthesis(java.lang.String reservedKey)
public java.lang.String publishStartSpeaking(java.lang.String utterance)
publishStartSpeaking
in interface SpeechSynthesis
utterance
- textpublic java.lang.String publishEndSpeaking(java.lang.String utterance)
publishEndSpeaking
in interface SpeechSynthesis
utterance
- textpublic void attach(Attachable attachable)
attach
in interface Attachable
attach
in class Service
attachable
- - the service to attach from this servicepublic void detach(Attachable attachable)
detach
in interface Attachable
detach
in class Service
attachable
- - the service to detach from this servicepublic void attachTextPublisher(TextPublisher textPublisher)
public void detachTextPublisher(TextPublisher textPublisher)