void CheckExpire(Object state) { var timeout = Setting.Current.SessionTimeout; //if (Svr != null) Svr.ClearExpire(timeout); DeviceOnline.ClearExpire(timeout); UserOnline.ClearExpire(timeout); }
/// <summary>清理超时会话</summary> /// <param name="secTimeout"></param> /// <returns></returns> public override Int32 ClearExpire(Int32 secTimeout) => UserOnline.ClearExpire(secTimeout).Count;