// Copyright 1998-2017 Epic Games, Inc. All Rights Reserved.
namespace Tools.CrashReporter.CrashReportProcess
{
///
/// A queue of pending reports in a specific folder
///
class ReceiverReportQueue : ReportQueueBase
{
protected override string QueueProcessingStartedEventName
{
get
{
return ProcessingStartedEventName;
}
}
///
/// Constructor taking the landing zone
///
public ReceiverReportQueue(string InQueueName, string LandingZonePath, string InProcessingStartedEventName, int InDecimateWaitingCountStart,
int InDecimateWaitingCountEnd)
: base(InQueueName, LandingZonePath, InDecimateWaitingCountStart, InDecimateWaitingCountEnd)
{
ProcessingStartedEventName = InProcessingStartedEventName;
}
protected override int GetTotalWaitingCount()
{
return LastQueueSizeOnDisk;
}
private readonly string ProcessingStartedEventName;
}
}