source: proiecte/ptvs/src/vnsim/applications/vitp/predefinedqueries/PredefinedQueries.java @ 31

Last change on this file since 31 was 31, checked in by (none), 14 years ago
File size: 1.1 KB
Line 
1/************************************************************************************
2 * Copyright (C) 2008 by Politehnica University of Bucharest and Rutgers University
3 * All rights reserved.
4 * Refer to LICENSE for terms and conditions of use.
5 ***********************************************************************************/
6package vnsim.applications.vitp.predefinedqueries;
7
8
9import java.util.*;
10
11import vnsim.applications.vitp.utils.*;
12
13
14public class PredefinedQueries {
15
16        public static HashMap<Integer, Query> queries
17                = new HashMap<Integer, Query> ();
18
19//      public static VITPRequest req=new VITPRequest((short)5, (short)6100, (short)6000, (short)0, (short)0, (short) 0, new Date(), new Date(), "none",
20//                                      -1, "A Query", "GET", "/vehicle/traffic?[cnt=5&tout=3000msec]");
21
22        public static VITPRequest req=new VITPRequest((short)13, (short)0, (short)100, (short)0, (short)0, (short) 0, new Date(), new Date(), "none",
23                        -1, "INFO", "POST", "");
24
25        static {
26                queries.put(7000, new QueryByVehicleId(req, 0));
27
28//              for(int i=0;i<200;i++) {
29//                      queries.put(40000+(i*1000), new Query(req, i));
30//              }
31        }
32}
Note: See TracBrowser for help on using the repository browser.