/************************************************************************************ * Copyright (C) 2008 by Politehnica University of Bucharest and Rutgers University * All rights reserved. * Refer to LICENSE for terms and conditions of use. ***********************************************************************************/ package vnsim.applications.vitp.predefinedqueries; import java.util.*; import vnsim.applications.vitp.utils.*; public class PredefinedQueries { public static HashMap queries = new HashMap (); // public static VITPRequest req=new VITPRequest((short)5, (short)6100, (short)6000, (short)0, (short)0, (short) 0, new Date(), new Date(), "none", // -1, "A Query", "GET", "/vehicle/traffic?[cnt=5&tout=3000msec]"); public static VITPRequest req=new VITPRequest((short)13, (short)0, (short)100, (short)0, (short)0, (short) 0, new Date(), new Date(), "none", -1, "INFO", "POST", ""); static { queries.put(7000, new QueryByVehicleId(req, 0)); // for(int i=0;i<200;i++) { // queries.put(40000+(i*1000), new Query(req, i)); // } } }