Neuron®
The Neuron® is the basis for the creation of open and secure federated networks for smart societies.
Loading...
Searching...
No Matches
QueryMessageEventArgs.cs
2{
6 public enum QueryEventType
7 {
11 Information,
12
16 Warning,
17
21 Error,
22
26 Exception
27 }
28
32 public enum QueryEventLevel
33 {
37 Minor,
38
42 Medium,
43
47 Major
48 }
49
54 {
55 private readonly QueryEventType type;
56 private readonly QueryEventLevel level;
57 private readonly string body;
58
67 : base(Query)
68 {
69 this.type = Type;
70 this.level = Level;
71 this.body = Body;
72 }
73
77 public QueryEventType Type => this.type;
78
82 public QueryEventLevel Level => this.level;
83
87 public string Body => this.body;
88 }
89}
Base class for all query-related events.
Class handling the reception of data from a query.
Definition: Query.cs:12
QueryMessageEventArgs(Query Query, QueryEventType Type, QueryEventLevel Level, string Body)
Defines a query message.
QueryEventType
Query event type.