Author: vive
Date: 2007-07-12 20:43:08 +0000 (Thu, 12 Jul 2007)
New Revision: 14054
Modified:
trunk/apps/load-balancing-sims/phase7/sim/SimpleQuery.java
Log:
Ext queries
Modified: trunk/apps/load-balancing-sims/phase7/sim/SimpleQuery.java
===================================================================
--- trunk/apps/load-balancing-sims/phase7/sim/SimpleQuery.java 2007-07-12
20:42:25 UTC (rev 14053)
+++ trunk/apps/load-balancing-sims/phase7/sim/SimpleQuery.java 2007-07-12
20:43:08 UTC (rev 14054)
@@ -8,15 +8,18 @@
public static final int REJECTLOOP=3;
public static final int FORWARD=4;
- final SimpleNode peer;
+ final SimpleNode source;
+ final SimpleNode dest;
final SimpleNode target;
final int type;
int htl;
- public SimpleQuery (SimpleNode peer, SimpleNode target, int type, int htl)
{
- this.peer = peer;
+ public SimpleQuery (SimpleNode source, SimpleNode dest, SimpleNode target,
int type, int htl) {
+ this.source = source;
+ this.dest = dest;
this.target = target;
this.type = type;
this.htl = htl;
}
+
}