using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Tango.PMR.Integration;
namespace Tango.Integration.ExternalBridge
{
///
/// Represents a secure external bridge client which requires authentication.
///
///
public interface IExternalBridgeSecureClient : IExternalBridgeClient
{
///
/// Occurs when the remote host has closed the session.
///
event EventHandler SessionClosed;
///
/// Connects to a remote external bridge service using the specified login.
///
/// The login request.
/// Optional protocol configuration.
///
Task Connect(ExternalBridgeLoginRequest login, ConfigureProtocolRequest protocol = null);
}
}