Show / Hide Table of Contents

    Class BroadcastMessage

    Represents a gossip request to the gossip cache

    Inheritance
    System.Object
    BroadcastMessage
    Inherited Members
    System.Object.Equals(System.Object)
    System.Object.Equals(System.Object, System.Object)
    System.Object.GetHashCode()
    System.Object.GetType()
    System.Object.MemberwiseClone()
    System.Object.ReferenceEquals(System.Object, System.Object)
    System.Object.ToString()
    Namespace: Catalyst.Core.Lib.P2P.IO.Messaging.Broadcast
    Assembly: Catalyst.Core.Lib.dll
    Syntax
    public sealed class BroadcastMessage

    Properties

    | Improve this Doc View Source

    BroadcastCount

    Gets or sets the gossip count.

    Declaration
    public uint BroadcastCount { get; set; }
    Property Value
    Type Description
    System.UInt32

    The amount of messages sent due to gossiping.

    | Improve this Doc View Source

    PeerNetworkSize

    Gets or sets the size of the peer network.

    Declaration
    public int PeerNetworkSize { get; set; }
    Property Value
    Type Description
    System.Int32

    The size of the peer network at the moment of creating this request.

    | Improve this Doc View Source

    ReceivedCount

    Gets or sets the received count.

    Declaration
    public int ReceivedCount { get; set; }
    Property Value
    Type Description
    System.Int32

    The amount of times the message has been received.

    Methods

    | Improve this Doc View Source

    IncrementReceivedCount()

    Increments the received count safely System.Threading.Interlocked.

    Declaration
    public void IncrementReceivedCount()
    • Improve this Doc
    • View Source
    Back to top Copyright © 2019 Catalyst Network