using System;
using System.Threading;
using MarketData.Utils;

namespace MarketData.Helper
{
	public enum ThreadHelperEnum{MaxThreads=25};
	public class ThreadHelper
  {
    public String Symbol{get;set;}
		public DateTime Modified{get;set;}
    public ManualResetEvent ResetEvent{get;set;}
    public UpdateManager updateManager;

		public ThreadHelper()
		{
			Modified=DateTime.Now;
		}
    public ThreadHelper(String symbol, ManualResetEvent resetEvent)
    {
      Symbol=symbol;
			ResetEvent=resetEvent;
    }
    public ThreadHelper(String symbol, DateTime modified,ManualResetEvent resetEvent)
    {
      Symbol=symbol;
			Modified=modified;
			ResetEvent=resetEvent;
    }
    public UpdateManager UpdateManager
    {
      get{return updateManager;}
      set{updateManager=value;}
    }
  }
}
