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;
2
3namespace Waher.Events
4{
8 public interface IObservableLayer
9 {
14 bool DecoupledEvents { get; }
15
20 void Information(string Comment);
21
27 void Information(DateTime Timestamp, string Comment);
28
33 void Warning(string Warning);
34
40 void Warning(DateTime Timestamp, string Warning);
41
46 void Error(string Error);
47
53 void Error(DateTime Timestamp, string Error);
54
59 void Exception(string Exception);
60
66 void Exception(DateTime Timestamp, string Exception);
67
72 void Exception(Exception Exception);
73
79 void Exception(DateTime Timestamp, Exception Exception);
80 }
81}
Interface for classes that can be observed.
void Error(DateTime Timestamp, string Error)
Called to inform the viewer of an error state.
void Warning(DateTime Timestamp, string Warning)
Called to inform the viewer of a warning state.
void Exception(Exception Exception)
Called to inform the viewer of an exception state.
void Information(string Comment)
Called to inform the viewer of something.
void Information(DateTime Timestamp, string Comment)
Called to inform the viewer of something.
void Exception(string Exception)
Called to inform the viewer of an exception state.
void Exception(DateTime Timestamp, 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...
void Exception(DateTime Timestamp, string Exception)
Called to inform the viewer of an exception state.
void Error(string Error)
Called to inform the viewer of an error state.
void Warning(string Warning)
Called to inform the viewer of a warning state.