2017-08-15 15:30:31 +02:00
|
|
|
|
/*
|
2021-02-03 00:45:33 +01:00
|
|
|
|
* Copyright (c) 2021 ETH Zürich, Educational Development and Technology (LET)
|
2017-08-15 15:30:31 +02:00
|
|
|
|
*
|
|
|
|
|
* 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-08-30 09:55:26 +02:00
|
|
|
|
namespace SafeExamBrowser.SystemComponents.Contracts
|
2017-08-15 15:30:31 +02:00
|
|
|
|
{
|
2018-03-06 11:38:12 +01:00
|
|
|
|
/// <summary>
|
2019-08-30 15:59:51 +02:00
|
|
|
|
/// Defines the functionality of a system component (e.g. the power supply).
|
2018-03-06 11:38:12 +01:00
|
|
|
|
/// </summary>
|
2019-08-30 15:59:51 +02:00
|
|
|
|
public interface ISystemComponent
|
2017-08-15 15:30:31 +02:00
|
|
|
|
{
|
|
|
|
|
/// <summary>
|
2019-03-08 15:56:38 +01:00
|
|
|
|
/// Initializes the resources and operations of the component.
|
2017-08-15 15:30:31 +02:00
|
|
|
|
/// </summary>
|
2019-03-08 15:56:38 +01:00
|
|
|
|
void Initialize();
|
|
|
|
|
|
2017-08-15 15:30:31 +02:00
|
|
|
|
/// <summary>
|
2017-08-17 12:17:58 +02:00
|
|
|
|
/// Instructs the component to stop any running operations and releases all used resources.
|
2017-08-15 15:30:31 +02:00
|
|
|
|
/// </summary>
|
|
|
|
|
void Terminate();
|
|
|
|
|
}
|
|
|
|
|
}
|