org.speakright.core
Interface ISRInstrumentation


public interface ISRInstrumentation

Extension point for monitoring the execution of an SR app. Uses a unique call identifier (uci) to represent a phone call.

Author:
IanRaeLaptop

Method Summary
 void onActivateFlow(int uci, IFlow flow)
          A flow has been activated (pushed onto the flow stack.
 void onCallBegin(int uci, IFlow flow)
          Starting execution of an app on a call.
 void onCallEnd(int uci)
          Execution of an app has ended.
 void onError(int uci, IFlow flow)
          An error has ocurred.
 void onExecuteFlow(int uci, IFlow flow)
          A flow is being executed and will now generate a VoiceXML page.
 void onUserInput(int uci, IFlow flow, SRResults results)
           
 

Method Detail

onCallBegin

void onCallBegin(int uci,
                 IFlow flow)
Starting execution of an app on a call.

Parameters:
uci - call identifier
flow - application flow

onCallEnd

void onCallEnd(int uci)
Execution of an app has ended.

Parameters:
uci - call identifier

onActivateFlow

void onActivateFlow(int uci,
                    IFlow flow)
A flow has been activated (pushed onto the flow stack.

Parameters:
uci - call identifier
flow - flow being activated.

onExecuteFlow

void onExecuteFlow(int uci,
                   IFlow flow)
A flow is being executed and will now generate a VoiceXML page.

Parameters:
uci - call identifier
flow - flow being executed.

onUserInput

void onUserInput(int uci,
                 IFlow flow,
                 SRResults results)

onError

void onError(int uci,
             IFlow flow)
An error has ocurred.

Parameters:
uci - unique call identifer
flow - flow in which error occured.