MyFetchCompleted
Executes after an attempt to retrieve HTML data using the JMNewAppletLocator function. When calling JMNewAppletLocator, you must designate this function in the applet locator callbacks structure. This is how you would define your output function if you were to name it MyFetchCompleted:
void MyFetchCompleted (
JMAppletLocatorRef ref,
JMLocatorErrors status);
ref
- The newly created applet locator.
status
- The status of the HTML data retrieval. See "Applet Locator Status Values" (page 9) for a listing of values that
JMNewAppletLocator may pass in this parameter.
DISCUSSION
The actions taken by the completion function depend on the status value it receives from JMNewAppletLocator. For example, if the HTML text is retrieved successfully, the function can then proceed to instantiate an applet associated with the HTML page.