//////////////////////////////////////////////////////////////////////////////////////////
        /// <summary>
        /// 获取客户端代理数据
        /// </summary>
        public static ProxIdData GetProxIdData(string proxId)
        {
            ProxIdData proxIdData = null;

            _globalProxIdData.TryGetValue(proxId, out proxIdData);
            if (proxIdData != null)
            {
                return(proxIdData);
            }
            return(null);
        }
        /// <summary>
        /// 增加或更新客户端代理数据
        /// </summary>
        public static void AddOrUpdateProxIdData(string proxId, string serverSid)
        {
            var proxIdData = GetProxIdData(proxId);

            if (proxIdData != null)
            {
                if (proxIdData.serverSid != serverSid)
                {
                    proxIdData.serverSid = serverSid;
                }
                proxIdData.activeTime = DateTime.Now;
            }
            else
            {
                _globalProxIdData[proxId] = new ProxIdData()
                {
                    serverSid = serverSid, activeTime = DateTime.Now,
                };
            }
        }