using StellaOps.Router.Common.Models;
namespace StellaOps.Microservice;
///
/// Manages connections to router gateways.
///
public interface IRouterConnectionManager
{
///
/// Gets the current connection states.
///
IReadOnlyList Connections { get; }
///
/// Starts the connection manager.
///
/// Cancellation token.
Task StartAsync(CancellationToken cancellationToken);
///
/// Stops the connection manager.
///
/// Cancellation token.
Task StopAsync(CancellationToken cancellationToken);
}