Ejemplo n.º 1
0
        public Account _getAccount(AccountGet nAccountGet)
        {
            uint       hashName_        = GenerateId._runTableId(nAccountGet.m_tName);
            uint       accountMgrIndex_ = hashName_ % mAccountMgrCount;
            AccountMgr accountMgr_      = mAccountMgrs[accountMgrIndex_];

            return(accountMgr_._getAccount(nAccountGet));
        }
Ejemplo n.º 2
0
        public Account _getAccount(AccountGet nAccountGet)
        {
            Account result_  = null;
            Account account_ = this._getAccount(nAccountGet.m_tName);

            if (null != account_)
            {
                int accountError_ = account_._checkErrorCode(
                    nAccountGet.m_tDeviceId, (uint)(nAccountGet.m_tDeviceType));
                if (AccountError_.mSucess_ == accountError_)
                {
                    result_ = account_;
                }
            }
            return(result_);
        }