/*
* Copyright (c) 2025 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/.
*/
namespace SafeExamBrowser.Client.Responsibilities
{
///
/// Defines all tasks assumed by the responsibilities of the client application.
///
internal enum ClientTask
{
///
/// Auto-start the browser and any potential third-party applications.
///
AutoStartApplications,
///
/// Close the shell.
///
CloseShell,
///
/// Deregister all event handlers during application termination.
///
DeregisterEvents,
///
/// Execute wave 1 of the application shutdown preparation. It should be used for potentially long-running operations which require all
/// other (security) functionalities to continue working normally.
///
PrepareShutdown_Wave1,
///
/// Execute wave 2 of the application shutdown preparation. It should be used by all remaining responsibilities which must continue to work
/// normally during the execution of wave 1.
///
PrepareShutdown_Wave2,
///
/// Register all event handlers during application initialization.
///
RegisterEvents,
///
/// Schedule the verification of the application integrity.
///
ScheduleIntegrityVerification,
///
/// Show the shell.
///
ShowShell,
///
/// Start the monitoring of different (security) aspects.
///
StartMonitoring,
///
/// Update the session integrity during application termination.
///
UpdateSessionIntegrity,
///
/// Verify the session integrity during application initialization.
///
VerifySessionIntegrity
}
}