Show / Hide Table of Contents

    Interface IBroadcastManager

    Namespace: Catalyst.Abstractions.P2P.IO.Messaging.Broadcast
    Assembly: Catalyst.Abstractions.dll
    Syntax
    public interface IBroadcastManager

    Methods

    | Improve this Doc View Source

    BroadcastAsync(ProtocolMessage)

    Broadcasts a message.

    Declaration
    Task BroadcastAsync(ProtocolMessage protocolMessage)
    Parameters
    Type Name Description
    ProtocolMessage protocolMessage

    Any signed message.

    Returns
    Type Description
    System.Threading.Tasks.Task
    | Improve this Doc View Source

    ReceiveAsync(ProtocolMessage)

    Handles Incoming gossip.

    Declaration
    Task ReceiveAsync(ProtocolMessage anySigned)
    Parameters
    Type Name Description
    ProtocolMessage anySigned

    Any signed message.

    Returns
    Type Description
    System.Threading.Tasks.Task
    | Improve this Doc View Source

    RemoveSignedBroadcastMessageData(ICorrelationId)

    Removes the temporary original signed broadcast message data once IBroadcastObserver HandleBroadcast has been called.

    Declaration
    void RemoveSignedBroadcastMessageData(ICorrelationId correlationId)
    Parameters
    Type Name Description
    ICorrelationId correlationId

    The correlation identifier.

    • Improve this Doc
    • View Source
    Back to top Copyright © 2019 Catalyst Network