namespace skyscraper5.DsmCc
{
    class DsmCcMessageHeader
    {
        public byte ProtocolDiscriminator { get; }
        public byte DsmccType { get; }
        public ushort MessageId { get; }
        public uint TransactionId { get; }
        public ushort MessageLength { get; set; }
        public DsmCcAdaptionHeader AdaptionHeader { get; internal set; }

        public DsmCcMessageHeader(byte protocolDiscriminator, byte dsmccType, ushort messageId, uint transactionId)
        {
            ProtocolDiscriminator = protocolDiscriminator;
            DsmccType = dsmccType;
            MessageId = messageId;
            TransactionId = transactionId;
        }
    }
}
