org.speakright.core.tests
Class AsyncFlow

java.lang.Object
  extended by org.speakright.core.FlowBase
      extended by org.speakright.core.flows.BasicFlow
          extended by org.speakright.core.tests.AsyncFlow
All Implemented Interfaces:
java.io.Serializable, IFlow

public class AsyncFlow
extends BasicFlow

See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.speakright.core.flows.BasicFlow
m_L
 
Constructor Summary
AsyncFlow(java.lang.String name)
           
 
Method Summary
 boolean onComplete()
          The default implementation is to return true;
 
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, onCatch, onDisconnect, 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
 

Constructor Detail

AsyncFlow

public AsyncFlow(java.lang.String name)
Method Detail

onComplete

public boolean onComplete()
Description copied from class: FlowBase
The default implementation is to return true;

Specified by:
onComplete in interface IFlow
Overrides:
onComplete in class FlowBase
Returns:
boolean indicating whether the business logic has finished. false means an asynchronous operation has been started. The flow is now paused. Later when the operation finishes, call SRInstance.Resume to continue.