private void DoVerfifyAccountResult(BL_VerifyAccountResult msg, PBChannel channel, int src, uint seq) { uint msgId = MessageMapping.Query(typeof(LB_VerifyAccount)); string timeoutKey = string.Format("{0}:{1}", msgId, msg.Account); m_VerifyAccountWatch.Remove(timeoutKey); VerifyAccountCB cb = m_VerifyAccountTimeout.Get(timeoutKey); if (cb != null) { cb(msg.Account, msg.Result, msg.AccountId); m_VerifyAccountTimeout.Remove(timeoutKey); } }
private void OnVerifyAccountResult(BL_VerifyAccountResult msg, PBChannel channel, int src, uint seq) { m_RunningThread.QueueAction(DoVerfifyAccountResult, msg, channel, src, seq); }