happy-geeks_geeks-core-library/GeeksCoreLibrary/Modules/Ftps/Interfaces/IFtpHandlerFactory.cs
using GeeksCoreLibrary.Modules.Ftps.Enums;

namespace GeeksCoreLibrary.Modules.Ftps.Interfaces;

/// <summary>
/// A factory to create the correct handler for the FTP.
/// </summary>
public interface IFtpHandlerFactory
{
    /// <summary>
    /// Gets the correct handler for the FTP.
    /// </summary>
    /// <param name="ftpType">The FTP type to create.</param>
    /// <returns></returns>
    IFtpHandler GetFtpHandler(FtpTypes ftpType);
}