public Contract_ServerStatus GetServerStatus()
		{
			Contract_ServerStatus contract = new Contract_ServerStatus();

			try
			{
				contract.HashQueueCount = JMMService.CmdProcessorHasher.QueueCount;
				contract.HashQueueState = JMMService.CmdProcessorHasher.QueueState;

				contract.GeneralQueueCount = JMMService.CmdProcessorGeneral.QueueCount;
				contract.GeneralQueueState = JMMService.CmdProcessorGeneral.QueueState;

				contract.ImagesQueueCount = JMMService.CmdProcessorImages.QueueCount;
				contract.ImagesQueueState = JMMService.CmdProcessorImages.QueueState;

				contract.IsBanned = JMMService.AnidbProcessor.IsBanned;
				contract.BanReason = JMMService.AnidbProcessor.BanTime.ToString();
			}
			catch (Exception ex)
			{
				logger.ErrorException(ex.ToString(), ex);
			}
			return contract;
		}
        public Contract_ServerStatus GetServerStatus()
        {
            Contract_ServerStatus contract = new Contract_ServerStatus();

            try
            {
                contract.HashQueueCount = JMMService.CmdProcessorHasher.QueueCount;
                contract.HashQueueState = JMMService.CmdProcessorHasher.QueueState.formatMessage(); //Deprecated since 3.6.0.0
                contract.HashQueueStateId = (int)JMMService.CmdProcessorHasher.QueueState.queueState;
                contract.HashQueueStateParams = JMMService.CmdProcessorHasher.QueueState.extraParams;

                contract.GeneralQueueCount = JMMService.CmdProcessorGeneral.QueueCount;
                contract.GeneralQueueState = JMMService.CmdProcessorGeneral.QueueState.formatMessage(); //Deprecated since 3.6.0.0
                contract.GeneralQueueStateId = (int)JMMService.CmdProcessorGeneral.QueueState.queueState;
                contract.GeneralQueueStateParams = JMMService.CmdProcessorGeneral.QueueState.extraParams;

                contract.ImagesQueueCount = JMMService.CmdProcessorImages.QueueCount;
                contract.ImagesQueueState = JMMService.CmdProcessorImages.QueueState.formatMessage(); //Deprecated since 3.6.0.0
                contract.ImagesQueueStateId = (int)JMMService.CmdProcessorImages.QueueState.queueState;
                contract.ImagesQueueStateParams = JMMService.CmdProcessorImages.QueueState.extraParams;

                contract.IsBanned = JMMService.AnidbProcessor.IsBanned;
                contract.BanReason = JMMService.AnidbProcessor.BanTime.ToString();
                contract.BanOrigin = JMMService.AnidbProcessor.BanOrigin;
            }
            catch (Exception ex)
            {
                logger.Error( ex,ex.ToString());
            }
            return contract;
        }