ndt-dev - [ndt-dev] [ndt] r640 committed - Add param to applet to allow custom wrappers to pass uniquely identify...
Subject: NDT-DEV email list created
List archive
[ndt-dev] [ndt] r640 committed - Add param to applet to allow custom wrappers to pass uniquely identify...
Chronological Thread
- From:
- To:
- Subject: [ndt-dev] [ndt] r640 committed - Add param to applet to allow custom wrappers to pass uniquely identify...
- Date: Mon, 19 Sep 2011 20:24:21 +0000
Revision: 640
Author:
Date: Mon Sep 19 13:23:26 2011
Log: Add param to applet to allow custom wrappers to pass uniquely identifying strings.
http://code.google.com/p/ndt/source/detail?r=640
Modified:
/branches/client_app/Applet/Tcpbw100.java
/branches/client_app/configure
/branches/client_app/tcpbw100.template
=======================================
--- /branches/client_app/Applet/Tcpbw100.java Wed Aug 24 12:19:00 2011
+++ /branches/client_app/Applet/Tcpbw100.java Mon Sep 19 13:23:26 2011
@@ -94,7 +94,7 @@
public class Tcpbw100 extends JApplet implements ActionListener
{
- private static final String VERSION = "3.6.4-3.6.4.1";
+ private static final String VERSION = "3.6.4-3.6.4.2";
private static final byte TEST_MID = (1 << 0);
private static final byte TEST_C2S = (1 << 1);
private static final byte TEST_S2C = (1 << 2);
@@ -485,6 +485,8 @@
//private static String lang="nb";
//private static String country="NO";
/***/
+ private String applet_id = "unknown_applet";
+ private String app_id = "unknown_java";
int half_duplex, congestion, bad_cable, mismatch;
double mylink;
@@ -519,6 +521,7 @@
public void init() {
if (getParameter("country") != null) country = getParameter("country");
if (getParameter("language") != null) lang = getParameter("language");
+ if (getParameter("client") != null) applet_id = getParameter("client");
try {
locale = new Locale(lang, country);
@@ -1693,7 +1696,7 @@
break;
case TEST_META:
sPanel.setText(messages.getString("meta"));
- if (test_meta(ctl, isApplication ? "java" : "applet")) {
+ if (test_meta(ctl, isApplication ? app_id : applet_id)) {
results.append(errmsg);
results.append(messages.getString("metaFailed") + "\n");
tests &= (~TEST_META);
@@ -2910,6 +2913,7 @@
System.exit(0);
}
});
+ applet.app_id = "java";
applet.isApplication = true;
applet.host = args[0];
frame.getContentPane().add(applet);
=======================================
--- /branches/client_app/configure Wed Aug 24 12:19:00 2011
+++ /branches/client_app/configure Mon Sep 19 13:23:26 2011
@@ -552,8 +552,8 @@
# Identity of this package.
PACKAGE_NAME='NDT'
PACKAGE_TARNAME='ndt'
-PACKAGE_VERSION='3.6.4-3.6.4.1'
-PACKAGE_STRING='NDT 3.6.4.1'
+PACKAGE_VERSION='3.6.4-3.6.4.2'
+PACKAGE_STRING='NDT 3.6.4.2'
'
PACKAGE_URL=''
=======================================
--- /branches/client_app/tcpbw100.template Tue May 10 04:16:40 2011
+++ /branches/client_app/tcpbw100.template Mon Sep 19 13:23:26 2011
@@ -72,6 +72,7 @@
<PARAM NAME="language" VALUE="en">
<PARAM NAME="country" VALUE="US">
+ <PARAM NAME="client" VALUE="applet">
</applet>
</td></tr></table>
- [ndt-dev] [ndt] r640 committed - Add param to applet to allow custom wrappers to pass uniquely identify..., ndt, 09/19/2011
Archive powered by MHonArc 2.6.16.