using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Tango.PMR.Integration;
namespace Tango.Integration.ExternalBridge
{
/// <summary>
/// Represents a secure external bridge client which requires authentication.
/// </summary>
/// <seealso cref="Tango.Integration.ExternalBridge.IExternalBridgeClient" />
public interface IExternalBridgeSecureClient : IExternalBridgeClient
{
/// <summary>
/// Occurs when the remote host has closed the session.
/// </summary>
event EventHandler SessionClosed;
/// <summary>
/// Connects to a remote external bridge service using the specified login.
/// </summary>
/// <param name="login">The login.</param>
/// <returns></returns>
Task Connect(ExternalBridgeLoginRequest login);
}
}