public void handler(object v)
 {
     Qot_GetBasicQot.Response res = v as Qot_GetBasicQot.Response;
     if (callback != null)
     {
         List <BasicQot> list = new List <BasicQot>();
         foreach (BasicQot qot in res.S2C.BasicQotListList)
         {
             int    market = qot.Security.Market;
             String symbol = qot.Security.Code;
             if ((int)this.market == market)
             {
                 foreach (String innerSymbol in symbols)
                 {
                     if (symbol.Equals(innerSymbol))
                     {
                         list.Add(qot);
                     }
                 }
             }
         }
         callback.callback(list);
     }
 }
 public void execute(ProtoBufPackage pack)
 {
     response = Qot_GetBasicQot.Response.ParseFrom(pack.Bodys);
 }