MyConnection Server

The Repeat example demonstrates the ability to use the JavaScript feature to instruct MySpeed to do repeat Speed tests on an interval basis over time. You control via JavaScript how many times (and how frequently) MySpeed restarts. In addition, dynamic HTML is used to display the multiple test results in a table below this text and generate an email for support.
 

The Repeat example uses the standard HTML <param> feature to direct MyConnection Server to call a JavaScript method when the test completes. This JavaScript method then takes control of the repeat test by calling the MyConnection Server DoStartButton() API.

Applet Syntax:

<applet MAYSCRIPT name="voip" code="myspeedserver/applet/myspeed.class" archive="/myspeed/myspeed.jar, /myspeed/plugins.jar" width=700 height=400>
<param name="js" value="mss($DSPEED$, $USPEED$, $QOS$,$RTT$, $MAXPAUSE$)">
</applet>
 

Explanation:

1. Using the standard HTML feature <param> the example sets the MySpeed parameters 'JS' to the value "mss()". This instructs the applet to call the mss() JavaScript function and pass the results of the test. The mss() function is the method used to generate the table, email and then start repeat test.

Although the 'js' option is being used to automatically call a JavaScript method() in this example the <param> technique can be used to assign any number of MyConnection Server test options. For example the Speed test characteristics such as the length of the test can be changed. Click the link below to see more options.

What other <param> options does MyConnection Server support?
 

Copyright © 1997-2008 Visualware, Inc.