2018-01-24 12:34:32 +01:00
|
|
|
|
/*
|
|
|
|
|
* Copyright (c) 2018 ETH Zürich, Educational Development and Technology (LET)
|
|
|
|
|
*
|
|
|
|
|
* This Source Code Form is subject to the terms of the Mozilla Public
|
|
|
|
|
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
|
|
|
|
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
|
|
|
|
*/
|
|
|
|
|
|
2018-03-15 14:32:07 +01:00
|
|
|
|
using SafeExamBrowser.Contracts.Communication.Data;
|
2018-01-24 12:34:32 +01:00
|
|
|
|
|
2018-03-15 14:32:07 +01:00
|
|
|
|
namespace SafeExamBrowser.Contracts.Communication.Proxies
|
2018-01-24 12:34:32 +01:00
|
|
|
|
{
|
2018-03-06 11:38:12 +01:00
|
|
|
|
/// <summary>
|
|
|
|
|
/// Defines the functionality for a proxy to the communication host of the client application component.
|
|
|
|
|
/// </summary>
|
2018-02-14 15:26:05 +01:00
|
|
|
|
public interface IClientProxy : ICommunicationProxy
|
2018-01-24 12:34:32 +01:00
|
|
|
|
{
|
2018-02-20 15:15:26 +01:00
|
|
|
|
/// <summary>
|
|
|
|
|
/// Instructs the client to initiate its shutdown procedure.
|
|
|
|
|
/// </summary>
|
2018-02-22 16:15:06 +01:00
|
|
|
|
/// <exception cref="System.ServiceModel.*">If the communication failed.</exception>
|
2018-02-20 15:15:26 +01:00
|
|
|
|
void InitiateShutdown();
|
|
|
|
|
|
2018-02-08 13:32:48 +01:00
|
|
|
|
/// <summary>
|
2018-02-14 15:26:05 +01:00
|
|
|
|
/// Instructs the client to submit its authentication data.
|
2018-02-08 13:32:48 +01:00
|
|
|
|
/// </summary>
|
2018-02-22 16:15:06 +01:00
|
|
|
|
/// <exception cref="System.ServiceModel.*">If the communication failed.</exception>
|
2018-02-15 15:42:54 +01:00
|
|
|
|
AuthenticationResponse RequestAuthentication();
|
2018-01-24 12:34:32 +01:00
|
|
|
|
}
|
|
|
|
|
}
|