/*
* 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/.
*/
using System;
namespace SafeExamBrowser.Contracts.Communication.Hosts
{
///
/// Defines the functionality of the communication host for the runtime application component.
///
public interface IRuntimeHost : ICommunicationHost
{
///
/// The startup token used for initial authentication.
///
Guid StartupToken { set; }
///
/// Event fired when the client disconnected from the runtime.
///
event CommunicationEventHandler ClientDisconnected;
///
/// Event fired once the client has signaled that it is ready to operate.
///
event CommunicationEventHandler ClientReady;
///
/// Event fired when the client detected a reconfiguration request.
///
event CommunicationEventHandler ReconfigurationRequested;
///
/// Event fired when the client requests to shut down the application.
///
event CommunicationEventHandler ShutdownRequested;
}
}