examples
Class ReturnResult
java.lang.Object
java.util.Observable
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
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 |
pThread
java.lang.Thread pThread
proc
Processor proc
terminator
static Terminator terminator
VXMLDIALOGSPATH
java.lang.String VXMLDIALOGSPATH
dialog
static java.lang.String dialog
ReturnResult
public ReturnResult()
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