using PARR.BLL.Contracts.Interfaces;
using PARR.BLL.Domain.Mq;

namespace PARR.BLL.Services.Interfaces
{
    public interface IMqAdminService
    {
        /// <summary>
        /// Получить статистику соединений из RabbitMQ
        /// </summary>
        /// <param name="mqSettings"></param>
        /// <returns></returns>
        Task<MqApiResult> GetConnectionsAsync(IMqSettings mqSettings);

        /// <summary>
        /// Получить статистику по очередям из RabbitMQ
        /// </summary>
        /// <param name="mqSettings"></param>
        /// <returns></returns>
        Task<MqApiResult> GetQueuesAsync(IMqSettings mqSettings);
    }
}
