Show / Hide Table of Contents

    Class BaseMessageDto<T>

    Inheritance
    System.Object
    BaseMessageDto<T>
    MessageDto
    SignedMessageDto
    Implements
    IMessageDto<T>
    IAddressedEnvelope<T>
    Namespace: Catalyst.Core.Lib.IO.Messaging.Dto
    Assembly: Catalyst.Core.Lib.dll
    Syntax
    public class BaseMessageDto<T> : DefaultAddressedEnvelope<T>, IMessageDto<T>, IAddressedEnvelope<T> where T : IMessage<T>
    Type Parameters
    Name Description
    T

    Constructors

    | Improve this Doc View Source

    BaseMessageDto(T, PeerId, PeerId, ICorrelationId)

    Data transfer object to wrap up all parameters for sending protocol messages into a MessageFactors.

    Declaration
    protected BaseMessageDto(T content, PeerId senderPeerIdentifier, PeerId recipientPeerIdentifier, ICorrelationId correlationId)
    Parameters
    Type Name Description
    T content
    PeerId senderPeerIdentifier
    PeerId recipientPeerIdentifier
    ICorrelationId correlationId

    Properties

    | Improve this Doc View Source

    CorrelationId

    Declaration
    public ICorrelationId CorrelationId { get; }
    Property Value
    Type Description
    ICorrelationId
    | Improve this Doc View Source

    RecipientPeerIdentifier

    Declaration
    public PeerId RecipientPeerIdentifier { get; }
    Property Value
    Type Description
    PeerId
    | Improve this Doc View Source

    SenderPeerIdentifier

    Declaration
    public PeerId SenderPeerIdentifier { get; }
    Property Value
    Type Description
    PeerId

    Implements

    IMessageDto<T>
    IAddressedEnvelope<>
    • Improve this Doc
    • View Source
    Back to top Copyright © 2019 Catalyst Network