2018-02-12 12:21:55 +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-02-14 15:26:05 +01:00
|
|
|
|
using System;
|
2018-06-21 07:56:25 +02:00
|
|
|
|
using SafeExamBrowser.Contracts.Communication.Events;
|
2018-02-14 15:26:05 +01:00
|
|
|
|
|
2018-03-15 14:32:07 +01:00
|
|
|
|
namespace SafeExamBrowser.Contracts.Communication.Hosts
|
2018-02-12 12:21:55 +01:00
|
|
|
|
{
|
2018-03-06 11:38:12 +01:00
|
|
|
|
/// <summary>
|
|
|
|
|
/// Defines the functionality of the communication host for the client application component.
|
|
|
|
|
/// </summary>
|
2018-02-12 12:21:55 +01:00
|
|
|
|
public interface IClientHost : ICommunicationHost
|
|
|
|
|
{
|
2018-02-14 15:26:05 +01:00
|
|
|
|
/// <summary>
|
|
|
|
|
/// The startup token used for initial authentication.
|
|
|
|
|
/// </summary>
|
|
|
|
|
Guid StartupToken { set; }
|
2018-02-20 15:15:26 +01:00
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Event fired when the runtime commands the client to shutdown.
|
|
|
|
|
/// </summary>
|
|
|
|
|
event CommunicationEventHandler Shutdown;
|
2018-02-12 12:21:55 +01:00
|
|
|
|
}
|
|
|
|
|
}
|