![]() |
QuickConnectFamily Hybrid API 2.1
Documentation for the JavaScript used in creating QC Family Hybrid Applications
|
The QC file contains the two stack trigger functions. More...
Variables | |
| qc | handleRequest |
| handleRequest(aCmd, requestParameters) The qc.handleRequest function is the trigger for the execution of mapped stacks. Each call to handleRequest is runs as much of the stack as possible on a background worker thread. | |
| qc | handleError |
| handleError(aCommand, errorParameters) The qc.handleError function is the trigger for the execution of mapped error handling stacks. Each call to handleRequest is runs as much of the stack as possible on a background worker thread. | |
The QC file contains the two stack trigger functions.
qc.handleRequest and qc.handleError are used to trigger stack execution. For more information regarding stacks see the main page of the documentation.
All functions are listed as variables in these files. However, they truely are JavaScript functions.
| qc handleError |
handleError(aCommand, errorParameters)
The qc.handleError function is the trigger for the execution of mapped error handling stacks. Each call to handleRequest is runs as much of the stack as possible on a background worker thread.
| aCommand | The NSString that uniquely identifies the stack of Control Functions you want executed. |
| errorParameters | An optional Array instance containing any and all values that you want passed to the indicated stack. |
handleRequest(aCmd, requestParameters)
The qc.handleRequest function is the trigger for the execution of mapped stacks. Each call to handleRequest is runs as much of the stack as possible on a background worker thread.
| aCommand | The String that uniquely identifies the stack of Control Functions you want executed. |
| requestParameters | An optional Array instance containing any and all values that you want passed to the indicated stack. |
1.7.4