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 SourceBroadcastCount
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. |
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. |
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 SourceIncrementReceivedCount()
Increments the received count safely System.Threading.Interlocked.
Declaration
public void IncrementReceivedCount()