mirror of
https://gitlab.com/fabinfra/fabaccess/borepin.git
synced 2025-03-12 23:01:52 +01:00
27 lines
640 B
C#
27 lines
640 B
C#
using Borepin.Model;
|
|
using FabAccessAPI.Schema;
|
|
using System.Collections.Generic;
|
|
using System.Threading.Tasks;
|
|
|
|
namespace Borepin.Service.BFFH
|
|
{
|
|
public interface IBFFHService
|
|
{
|
|
Connection CurrentConnection { get; }
|
|
bool IsConnected { get; }
|
|
|
|
Task<IList<Connection>> GetConnections();
|
|
|
|
Task RemoveConnection(Connection connection);
|
|
Task<bool> TestConnection(Connection connection);
|
|
|
|
|
|
Task Connect(Connection connection);
|
|
Task Connect(Connection connection, string password);
|
|
Task Reconnect();
|
|
Task Disconnect();
|
|
|
|
|
|
Task<Session> GetSession();
|
|
}
|
|
} |