﻿using System;
using System.Collections.Generic;
using System.Text;

namespace Sofire.DataComm.Remoting.Server
{
    /// <summary>
    /// 表示一个会话。
    /// </summary>
    public class SessionEntry : SyncDictionary<string, object>
    {
        private bool _IsExpired;
        /// <summary>
        /// 获取一个值，指示当前会话是否已过期。
        /// </summary>
        public bool IsExpired
        {
            get
            {
                return this._IsExpired;
            }
            internal set
            {
                this._IsExpired = value;
            }
        }

        internal SessionEntry() : base(StringComparer.CurrentCultureIgnoreCase) { }
    }

}
