Author: mrogers
Date: 2006-09-14 14:13:22 +0000 (Thu, 14 Sep 2006)
New Revision: 10467
Added:
trunk/apps/load-balancing-sims/phase6/messages/ChkInsert.java
Log:
CHK inserts, sorry about the large number of commits, I accidentally added
classfiles to the repository and I'm trying to fix it
Added: trunk/apps/load-balancing-sims/phase6/messages/ChkInsert.java
===================================================================
--- trunk/apps/load-balancing-sims/phase6/messages/ChkInsert.java
2006-09-14 14:13:14 UTC (rev 10466)
+++ trunk/apps/load-balancing-sims/phase6/messages/ChkInsert.java
2006-09-14 14:13:22 UTC (rev 10467)
@@ -0,0 +1,21 @@
+package messages;
+
+public class ChkInsert extends Search
+{
+ // Start a new insert
+ public ChkInsert (int key, double location)
+ {
+ super (key, location);
+ }
+
+ // Forward an insert
+ public ChkInsert (int id, int key, double closest, int htl)
+ {
+ super (id, key, closest, htl);
+ }
+
+ public String toString()
+ {
+ return new String ("CHK insert (" +id+ "," +key+ "," +htl+ ")");
+ }
+}