Neuron®
The Neuron® is the basis for the creation of open and secure federated networks for smart societies.
Loading...
Searching...
No Matches
IObservableLayer.cs
1using System;
2using System.Threading.Tasks;
3
4namespace Waher.Events
5{
9 public interface IObservableLayer
10 {
15 bool DecoupledEvents { get; }
16
21 Task Information(string Comment);
22
28 Task Information(DateTime Timestamp, string Comment);
29
34 Task Warning(string Warning);
35
41 Task Warning(DateTime Timestamp, string Warning);
42
47 Task Error(string Error);
48
54 Task Error(DateTime Timestamp, string Error);
55
60 Task Exception(string Exception);
61
67 Task Exception(DateTime Timestamp, string Exception);
68
73 Task Exception(Exception Exception);
74
80 Task Exception(DateTime Timestamp, Exception Exception);
81 }
82}
Interface for classes that can be observed.
Task Information(string Comment)
Called to inform the viewer of something.
Task Error(string Error)
Called to inform the viewer of an error state.
Task Exception(DateTime Timestamp, string Exception)
Called to inform the viewer of an exception state.
Task Warning(string Warning)
Called to inform the viewer of a warning state.
Task Exception(DateTime Timestamp, Exception Exception)
Called to inform the viewer of an exception state.
Task Error(DateTime Timestamp, string Error)
Called to inform the viewer of an error state.
Task Information(DateTime Timestamp, string Comment)
Called to inform the viewer of something.
Task Exception(string Exception)
Called to inform the viewer of an exception state.
Task Exception(Exception Exception)
Called to inform the viewer of an exception state.
bool DecoupledEvents
If events raised from the communication layer are decoupled, i.e. executed in parallel with the sourc...
Task Warning(DateTime Timestamp, string Warning)
Called to inform the viewer of a warning state.