2019-06-07 15:26:03 +02:00
|
|
|
|
/*
|
|
|
|
|
* Copyright (c) 2019 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/.
|
|
|
|
|
*/
|
|
|
|
|
|
2019-06-18 10:18:56 +02:00
|
|
|
|
using System.Threading;
|
2019-06-11 09:53:33 +02:00
|
|
|
|
using SafeExamBrowser.Contracts.Configuration;
|
|
|
|
|
|
2019-06-07 15:26:03 +02:00
|
|
|
|
namespace SafeExamBrowser.Service
|
|
|
|
|
{
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Holds all configuration and runtime data required for the session handling.
|
|
|
|
|
/// </summary>
|
|
|
|
|
internal class SessionContext
|
|
|
|
|
{
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// The configuration of the currently active session.
|
|
|
|
|
/// </summary>
|
2019-06-18 10:18:56 +02:00
|
|
|
|
internal ServiceConfiguration Configuration { get; set; }
|
2019-06-07 15:26:03 +02:00
|
|
|
|
|
|
|
|
|
/// <summary>
|
2019-06-18 10:18:56 +02:00
|
|
|
|
/// The global inter-process event used for status synchronization with the runtime component.
|
2019-06-07 15:26:03 +02:00
|
|
|
|
/// </summary>
|
2019-06-18 10:18:56 +02:00
|
|
|
|
internal EventWaitHandle EventWaitHandle { get; set; }
|
2019-06-07 15:26:03 +02:00
|
|
|
|
}
|
|
|
|
|
}
|