Example #1
0
 public Dictionary<String, String> getCache(UdpTarget target, string oid)
 {
     RemoteQueryCache rqc = new RemoteQueryCache();
     Console.WriteLine("trying from cache");
     Dictionary<string,string> data = rqc.getCache(target.Address.ToString(), oid);
     Console.WriteLine("reading from cache " + data.Count );
     return data;
 }
Example #2
0
 public void setCache(UdpTarget target, string oid, Dictionary<string, string> data)
 {
     RemoteQueryCache rqc = new RemoteQueryCache();
     Console.WriteLine("writting to cache");
     rqc.setCache(target.Address.ToString(), oid, data);
 }