/* * Copyright (c) 2020 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/. */ using System; using SafeExamBrowser.Communication.Contracts.Data; namespace SafeExamBrowser.Communication.Contracts.Proxies { /// /// Defines the functionality for a proxy to the communication host of the client application component. /// public interface IClientProxy : ICommunicationProxy { /// /// Informs the client that the reconfiguration request for the specified file was denied. /// CommunicationResult InformReconfigurationDenied(string filePath); /// /// Instructs the client to initiate its shutdown procedure. /// CommunicationResult InitiateShutdown(); /// /// Instructs the client to submit its authentication data. /// CommunicationResult RequestAuthentication(); /// /// Requests the client to render a password dialog and subsequently return the interaction result as separate message. /// CommunicationResult RequestPassword(PasswordRequestPurpose purpose, Guid requestId); /// /// Requests the client to render a message box and subsequently return the interaction result as separate message. /// CommunicationResult ShowMessage(string message, string title, int action, int icon, Guid requestId); } }