2018-02-14 15:26:05 +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-15 15:42:54 +01:00
|
|
|
|
using System;
|
|
|
|
|
|
2018-02-14 15:26:05 +01:00
|
|
|
|
namespace SafeExamBrowser.Contracts.Communication.Messages
|
|
|
|
|
{
|
2018-02-15 15:42:54 +01:00
|
|
|
|
[Serializable]
|
2018-02-27 15:28:54 +01:00
|
|
|
|
public abstract class Message
|
2018-02-14 15:26:05 +01:00
|
|
|
|
{
|
|
|
|
|
/// <summary>
|
2018-02-15 15:42:54 +01:00
|
|
|
|
/// The communication token needed for authentication.
|
2018-02-14 15:26:05 +01:00
|
|
|
|
/// </summary>
|
2018-02-15 15:42:54 +01:00
|
|
|
|
public Guid CommunicationToken { get; set; }
|
2018-02-16 13:15:16 +01:00
|
|
|
|
|
|
|
|
|
public override string ToString()
|
|
|
|
|
{
|
|
|
|
|
return GetType().Name;
|
|
|
|
|
}
|
2018-02-14 15:26:05 +01:00
|
|
|
|
}
|
|
|
|
|
}
|