/*
* Copyright (c) 2023 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/.
*/
using System;
namespace SafeExamBrowser.Communication.Contracts.Data
{
///
/// The reply to a .
///
[Serializable]
public class ServerFailureActionReplyMessage : Message
{
///
/// The user chose to abort the operation.
///
public bool Abort { get; set; }
///
/// The user chose to perform a fallback.
///
public bool Fallback { get; set; }
///
/// The user chose to retry the operation.
///
public bool Retry { get; set; }
///
/// Identifies the server failure action request.
///
public Guid RequestId { get; set; }
public ServerFailureActionReplyMessage(bool abort, bool fallback, bool retry, Guid requestId)
{
Abort = abort;
Fallback = fallback;
Retry = retry;
RequestId = requestId;
}
}
}