Table of Contents

Interface IMessage

Namespace
NLightning.Domain.Protocol.Messages.Interfaces
Assembly
NLightning.Domain.dll

Interface for a message.

public interface IMessage

Properties

Extension

The extension of the message, if any.

TlvStream? Extension { get; }

Property Value

TlvStream

Payload

The payload of the message.

IMessagePayload Payload { get; }

Property Value

IMessagePayload

Type

The type of the message. MessageTypes.

ushort Type { get; }

Property Value

ushort