public void handler(object v) { Qot_GetRT.Response res = v as Qot_GetRT.Response; if (this.callback != null) { if (res.S2C.Security.Market == (int)this.market && res.S2C.Security.Code.Equals(this.symbol)) { callback.callback(res.S2C.RtListList.ToList()); } } }
public void execute(ProtoBufPackage pack) { response = Qot_GetRT.Response.ParseFrom(pack.Bodys); }