e07b4040eb0e21b3b59aee5706e151bb0d452896
[IRC.git] / Robust / src / Benchmarks / Spider / Java / Spider.java
1 public class Spider {
2
3
4
5     public static void main(String[] parameters) {
6         String firstmachine=parameters[0];
7         String firstpage=parameters[1];
8         QueryList ql=new QueryList();
9         QueryQueue toprocess=new QueryQueue();
10         Query firstquery=new Query(firstmachine, firstpage);
11         toprocess.addQuery(firstquery);
12         QueryThread qt1=new QueryThread(toprocess, ql);
13         qt1.run();
14         //      qt1.start();
15         //QueryThread qt2=new QueryThread(toprocess, ql);
16         //qt2.start();
17         //QueryThread qt3=new QueryThread(toprocess, ql);
18         //qt3.start();
19         //while(true)
20         //    Thread.sleep(1000000);
21     }
22
23
24 }