namespace ZB.MOM.WW.LmxProxy.Host.Domain
{
    /// <summary>Subscription statistics for monitoring.</summary>
    public class SubscriptionStats
    {
        public SubscriptionStats(int totalClients, int totalTags, int activeSubscriptions,
            long totalDelivered = 0, long totalDropped = 0)
        {
            TotalClients = totalClients;
            TotalTags = totalTags;
            ActiveSubscriptions = activeSubscriptions;
            TotalDelivered = totalDelivered;
            TotalDropped = totalDropped;
        }

        public int TotalClients { get; }
        public int TotalTags { get; }
        public int ActiveSubscriptions { get; }
        public long TotalDelivered { get; }
        public long TotalDropped { get; }
    }
}
