speech
Class SpeechOutAgent

java.lang.Object
  |
  +--java.rmi.server.RemoteObject
        |
        +--java.rmi.server.RemoteServer
              |
              +--java.rmi.server.UnicastRemoteObject
                    |
                    +--metaglue.AgentAgent
                          |
                          +--speech.SpeechOutAgent

public class SpeechOutAgent
extends AgentAgent
implements SpeechOut, TalkNSing

This is the thing that talks to Laureate, or something if there is no Laureate to talk to. Cheesy name but all variants of Synthesizer are already reserved by JSAPI.

See Also:
Serialized Form

Inner classes inherited from class metaglue.AgentAgent
AgentAgent.Attribute
 
Fields inherited from class java.rmi.server.RemoteObject
ref
 
Fields inherited from interface metaglue.Agent
ALIVE, DIED, NO_METAGLUE, NOT_RUNNING, STARTING
 
Constructor Summary
SpeechOutAgent()
           
 
Method Summary
 boolean busy()
           
 void playWav(String filename)
           
 void playWavSync(String filename)
           
 void reconnect()
           
 void say(String text)
           
 void saySafe(String text)
           
 void saySafe(String text, String delim)
           
 void saySync(String text)
           
 boolean status()
           
 void stopTalking()
           
 
Methods inherited from class metaglue.AgentAgent
addMonitor, alive, defrost, defrostAll, defrostBoolean, defrostInt, defrostString, fixAttribute, fixAttribute, freeze, freeze, freeze, freezeAll, freezeVar, getAgentID, getAttribute, getCatalog, getCatalogID, getDesignation, getFrozenVariables, getLogLevel, getMetaglueAgent, getMetaglueAgentID, getOccupation, getProperties, getSociety, log, log, log, obtainMetaglueAgent, obtainMetaglueAgent, obtainMetaglueAgentByName, reliesOn, reliesOn, reliesOn, reliesOnSynch, removeFrozen, replaceExceptionHandler, setFreezeName, setLogLevel, setLogName, shutdown, startAgent, startAgentOn, startAgentOn, startup, status, tiedTo, tiedTo, tiedTo, tiedTo, tieToDesignation, whereAreYou
 
Methods inherited from class java.rmi.server.UnicastRemoteObject
clone, exportObject, exportObject, exportObject, unexportObject
 
Methods inherited from class java.rmi.server.RemoteServer
getClientHost, getLog, setLog
 
Methods inherited from class java.rmi.server.RemoteObject
equals, getRef, hashCode, toString, toStub
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

SpeechOutAgent

public SpeechOutAgent()
               throws RemoteException
Method Detail

reconnect

public void reconnect()
               throws RemoteException
Specified by:
reconnect in interface SpeechOut

saySync

public void saySync(String text)
             throws RemoteException
Specified by:
saySync in interface TalkNSing

say

public void say(String text)
         throws RemoteException
Specified by:
say in interface TalkNSing

stopTalking

public void stopTalking()
                 throws RemoteException
Specified by:
stopTalking in interface TalkNSing

saySafe

public void saySafe(String text)
             throws RemoteException
Specified by:
saySafe in interface TalkNSing

saySafe

public void saySafe(String text,
                    String delim)
             throws RemoteException
Specified by:
saySafe in interface TalkNSing

busy

public boolean busy()
             throws RemoteException
Specified by:
busy in interface TalkNSing

playWavSync

public void playWavSync(String filename)
                 throws RemoteException
Specified by:
playWavSync in interface TalkNSing

playWav

public void playWav(String filename)
             throws RemoteException
Specified by:
playWav in interface TalkNSing

status

public boolean status()
               throws RemoteException
Specified by:
status in interface SpeechOut