/* * Copyright (c) 2024 ETH Zürich, IT Services * * 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.Configuration.Contracts; namespace SafeExamBrowser.Communication.Contracts.Proxies { /// /// Defines the functionality for a proxy to the communication host of the service application component. /// public interface IServiceProxy : ICommunicationProxy { /// /// Instructs the service to start a system configuration update. /// CommunicationResult RunSystemConfigurationUpdate(); /// /// Instructs the service to start a new session according to the given configuration. /// CommunicationResult StartSession(ServiceConfiguration configuration); /// /// Instructs the service to stop the specified session. /// CommunicationResult StopSession(Guid sessionId); } }