Skip to Content.
Sympa Menu

ndt-dev - [ndt-dev] [ndt] r881 committed - Fix issue with misplaced constants in Java client (#101)

Subject: NDT-DEV email list created

List archive

[ndt-dev] [ndt] r881 committed - Fix issue with misplaced constants in Java client (#101)


Chronological Thread 
  • From:
  • To:
  • Subject: [ndt-dev] [ndt] r881 committed - Fix issue with misplaced constants in Java client (#101)
  • Date: Fri, 07 Feb 2014 12:39:23 +0000

Revision: 881
Author:

Date: Fri Feb 7 12:39:12 2014 UTC
Log: Fix issue with misplaced constants in Java client (#101)
http://code.google.com/p/ndt/source/detail?r=881

Modified:
/branches/applet_101/Applet/src/edu/internet2/ndt/Tcpbw100.java

=======================================
--- /branches/applet_101/Applet/src/edu/internet2/ndt/Tcpbw100.java Thu Feb 6 11:20:09 2014 UTC
+++ /branches/applet_101/Applet/src/edu/internet2/ndt/Tcpbw100.java Fri Feb 7 12:39:12 2014 UTC
@@ -2412,7 +2412,7 @@
// If SRV_QUEUE message sent by NDT server does not
indicate that
// the test
// session starts now, return
- if (protocolObj.recv_msg(msg) != NDTConstants.SRV_QUEUE_TEST_STARTS_NOW) {
+ if (protocolObj.recv_msg(msg) != NDTConstants.PROTOCOL_MSG_READ_SUCCESS) {
_sErrMsg =
_resBundDisplayMsgs.getString("protocolError")
+ Integer.parseInt(new
String(msg.getBody()), 16)
+ " instead\n";
@@ -2437,7 +2437,7 @@
wait = Integer.parseInt(tmpstr3);
System.out.println("wait flag received = " + wait);

- if (wait == 0) { // SRV_QUEUE message received
indicating
+ if (wait == NDTConstants.SRV_QUEUE_TEST_STARTS_NOW) { // SRV_QUEUE message received indicating
// "ready to start
tests" status,
// proceed to
running tests
break;


  • [ndt-dev] [ndt] r881 committed - Fix issue with misplaced constants in Java client (#101), ndt, 02/07/2014

Archive powered by MHonArc 2.6.16.

Top of Page