Neuron®
The Neuron® is the basis for the creation of open and secure federated networks for smart societies.
Loading...
Searching...
No Matches
NodeStatus.cs
2
4{
8 [CollectionName("PeerStatus")]
9 [NoBackup("Actual blocks are not included in a backup. By not including these records, blocks will be re-fetched after a restore.")]
10 [TypeName(TypeNameSerialization.None)]
11 [Index("BareJid")]
12 public class NodeStatus
13 {
14 private string objectId = null;
15 private string bareJid = string.Empty;
16 private string lastBlockId = string.Empty;
17
21 public NodeStatus()
22 {
23 }
24
28 [ObjectId]
29 public string ObjectId
30 {
31 get => this.objectId;
32 set => this.objectId = value;
33 }
34
38 public string BareJid
39 {
40 get => this.bareJid;
41 set => this.bareJid = value;
42 }
43
47 public string LastBlockId
48 {
49 get => this.lastBlockId;
50 set => this.lastBlockId = value;
51 }
52 }
53}
Contains information about current synchronization status for a node in the network.
Definition: NodeStatus.cs:13
NodeStatus()
Contains information about current synchronization status for a node in the network.
Definition: NodeStatus.cs:21
TypeNameSerialization
How the type name should be serialized.