|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.speakright.core.FlowBase
org.speakright.core.flows.BasicFlow
org.speakright.core.tests.App1
public class App1
| Field Summary | |
|---|---|
Model |
M
|
| Fields inherited from class org.speakright.core.flows.BasicFlow |
|---|
m_L |
| Constructor Summary | |
|---|---|
App1()
|
|
| Method Summary | |
|---|---|
IFlow |
onCatch(IFlow current,
SRResults results,
java.lang.String eventName,
ThrowEvent event)
The default implementation of onCatch is to return null, indicating that this object does not handle custom events. |
IFlow |
onDisconnect(IFlow current,
SRResults results)
The default implementation of onDisconnect is to return null, indicating that this object does not handle disconnect events. |
| Methods inherited from class org.speakright.core.flows.BasicFlow |
|---|
add, addPromptFlow, findSubFlow, getFirst, getNext, getSubFlowAfter, SubFlowCount |
| Methods inherited from class org.speakright.core.FlowBase |
|---|
createRenderer, execute, executionCount, fixupGrammar, fixupPrompt, log, logError, name, onBegin, onComplete, onEnd, onNoInput, onPlatformError, onTransferFailed, onValidateFailed, promptGroup, setExecutionCount, setName, setPromptGroup, shouldExecute, validateInput |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public Model M
| Constructor Detail |
|---|
public App1()
| Method Detail |
|---|
public IFlow onDisconnect(IFlow current,
SRResults results)
FlowBase
onDisconnect in interface IFlowonDisconnect in class FlowBasecurrent - the currently executing flow object.results - the results of current's execution. In this case results will
contain a Disconnect result code. User input may be present, if the caller spoke before hanging
up. Some applications may want to process this final utterance before terminating.
public IFlow onCatch(IFlow current,
SRResults results,
java.lang.String eventName,
ThrowEvent event)
FlowBase
onCatch in interface IFlowonCatch in class FlowBasecurrent - the currently executing flow object.results - the results of current's execution.eventName - name of the event. most event handling can be done using just the name.event - event object. advanced event handling may require the actual event object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||