// (c) MIT 2003.  All rights reserved.

package rec.agent;

import java.rmi.*;
import java.util.*;
import speech.*;
import speech.tools.*;
import metaglue.*;
import rec.core.*;
import rec.sys.*;
import rec.fsm.*;
import rec.util.*;

public class TalkAgent extends SpeechAgent
    implements Talk
{
  protected AppGrammar grammar;

  protected Sketch sketch;
  protected Asker asker;

  public TalkAgent( ) throws RemoteException
  {
    // get default grammar
    grammar = loadGrammar();
    makeAlwaysActive( grammar );

    // get the sketch agent
    sketch = (Sketch)reliesOn( "rec.agent.Sketch" );

    asker = (Asker)reliesOn( "speech.tools.Asker" );
  }


  /**
   * Incoming speech goes through here.
   */
  public void acceptedTagsResult (Hashtable tags) throws RemoteException
  {
  }

  
  
}



