examples
Class ReturnResult

java.lang.Object
  extended by java.util.Observable
      extended by examples.ReturnResult
All Implemented Interfaces:
java.util.Observer

public class ReturnResult
extends java.util.Observable
implements java.util.Observer

This example shows of how to process the returned results from a vxml file. We are using the threaded version of VXMLSurfer

Author:
Padmini Patnaik

Field Summary
(package private) static java.lang.String dialog
           
(package private)  Processor proc
           
(package private)  java.lang.Thread pThread
           
(package private) static Terminator terminator
           
(package private)  java.lang.String VXMLDIALOGSPATH
           
 
Constructor Summary
ReturnResult()
           
 
Method Summary
static void main(java.lang.String[] args)
          Function to send message to the VXMLSurfer when a new dialog is to be spoken out
 void update(java.util.Observable o, java.lang.Object arg)
          Function
 
Methods inherited from class java.util.Observable
addObserver, clearChanged, countObservers, deleteObserver, deleteObservers, hasChanged, notifyObservers, notifyObservers, setChanged
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

pThread

java.lang.Thread pThread

proc

Processor proc

terminator

static Terminator terminator

VXMLDIALOGSPATH

java.lang.String VXMLDIALOGSPATH

dialog

static java.lang.String dialog
Constructor Detail

ReturnResult

public ReturnResult()
Method Detail

update

public void update(java.util.Observable o,
                   java.lang.Object arg)
Function

Specified by:
update in interface java.util.Observer

main

public static void main(java.lang.String[] args)
Function to send message to the VXMLSurfer when a new dialog is to be spoken out

Parameters:
dialog - The dialog to be spoken out