[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[or-cvs] r11210: minor changes in example application (puppetor/trunk/src/de/uniba/wiai/lspi/puppetor/examples)



Author: kloesing
Date: 2007-08-19 18:32:35 -0400 (Sun, 19 Aug 2007)
New Revision: 11210

Modified:
   puppetor/trunk/src/de/uniba/wiai/lspi/puppetor/examples/DistributedStorage.java
Log:
minor changes in example application

Modified: puppetor/trunk/src/de/uniba/wiai/lspi/puppetor/examples/DistributedStorage.java
===================================================================
--- puppetor/trunk/src/de/uniba/wiai/lspi/puppetor/examples/DistributedStorage.java	2007-08-19 22:00:57 UTC (rev 11209)
+++ puppetor/trunk/src/de/uniba/wiai/lspi/puppetor/examples/DistributedStorage.java	2007-08-19 22:32:35 UTC (rev 11210)
@@ -1322,7 +1322,7 @@
 				EventType.HSDIR_DESC_STORED);
 		manager.registerEventTypePattern("Sending fetch request for v2 "
 				+ "descriptor for "
-				+ "service '.*' with descriptor ID '.*' from hidden "
+				+ "service '.*' with descriptor ID '.*' to hidden "
 				+ "service directory '.*' on port .*",
 				EventType.ALICE_SENDING_FETCH_DESC);
 		manager
@@ -1351,7 +1351,9 @@
 							+ routerCounter * 10 + 12, portStart
 							+ routerCounter * 10 + 13, portStart
 							+ routerCounter * 10 + 14);
-			router.addConfiguration("HSDir 1");
+			router.addConfiguration("HidServDirectoryV2 1");
+			router.addConfiguration("FetchHidServDescriptors 0");
+			router.addConfiguration("FetchV2HidServDescriptors 1");
 			runningRouters.add(router);
 		}
 
@@ -1447,7 +1449,9 @@
 							+ routerCounter * 10 + 13, portStart
 							+ routerCounter * 10 + 14);
 
-			newRouter.addConfiguration("HSDir 1");
+			newRouter.addConfiguration("HidServDirectoryV2 1");
+			newRouter.addConfiguration("FetchHidServDescriptors 0");
+			newRouter.addConfiguration("FetchV2HidServDescriptors 1");
 
 			// if the system is running for at least 24 hours, it can be
 			// considered stable, so that hidden services can be started