using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Tango.PMR.Common;
namespace Tango.PMR
{
///
/// Represents a Tango message.
///
public interface ITangoMessage
{
///
/// Gets the container that will encapsulate the actual PMR message.
///
MessageContainer Container { get; set; }
///
/// Gets or sets the PMR message type.
///
MessageType Type { get; set; }
///
/// Serializes the Tango message to byte array.
///
///
byte[] ToBytes();
///
/// Serializes the Tango message to byte array representing a serialized JSON object of this Tango message.
///
///
byte[] ToJsonBytes();
}
}