blob: aaf7efc2d1033bfff1dd9dff857ef097a2ee700f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
|
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 request.</param>
/// <param name="protocol">Optional protocol configuration.</param>
/// <returns></returns>
Task Connect(ExternalBridgeLoginRequest login, ConfigureProtocolRequest protocol = null);
}
}
|