Neuron®
The Neuron® is the basis for the creation of open and secure federated networks for smart societies.
Loading...
Searching...
No Matches
NodeEvent.cs
2
4{
8 public abstract class NodeEvent : SourceEvent
9 {
10 private string nodeId = string.Empty;
11 private string localId = string.Empty;
12 private string logId = string.Empty;
13 private string partition = string.Empty;
14
18 public NodeEvent()
19 : base()
20 {
21 }
22
26 [DefaultValueStringEmpty]
27 [ShortName("n")]
28 public string NodeId
29 {
30 get => this.nodeId;
31 set => this.nodeId = value;
32 }
33
37 [DefaultValueStringEmpty]
38 [ShortName("p")]
39 public string Partition
40 {
41 get => this.partition;
42 set => this.partition = value;
43 }
44
48 [DefaultValueStringEmpty]
49 [ShortName("lg")]
50 public string LogId
51 {
52 get => this.logId;
53 set => this.logId = value;
54 }
55
59 [DefaultValueStringEmpty]
60 [ShortName("lc")]
61 public string LocalId
62 {
63 get => this.localId;
64 set => this.localId = value;
65 }
66 }
67}
Abstract base class for all node events.
Definition: NodeEvent.cs:9
string NodeId
Node identity.
Definition: NodeEvent.cs:29
string LogId
Log identity, if different from NodeId.
Definition: NodeEvent.cs:51
string Partition
Optional partition.
Definition: NodeEvent.cs:40
string LocalId
Local identity, if different from NodeId.
Definition: NodeEvent.cs:62
NodeEvent()
Abstract base class for all node events.
Definition: NodeEvent.cs:18
Abstract base class for all data source events.
Definition: SourceEvent.cs:13