Example #1
0
 /// <summary>
 /// 删除用户SOCKET缓存区中的一个用户
 /// </summary>
 /// <param name="_user"></param>
 /// <returns></returns>
 public bool DeleteUserSocketCache(UserSocketCache _user)
 {
     return(_userSocketCaches.Remove(_user));
 }
Example #2
0
 /// <summary>
 /// 添加用户SOCKET缓存
 /// </summary>
 /// <param name="_userSocketCache"></param>
 public void AddUserSocketCache(UserSocketCache _userSocketCache)
 {
     this._userSocketCaches.Add(_userSocketCache);
 }