Neuron®
The Neuron® is the basis for the creation of open and secure federated networks for smart societies.
Loading...
Searching...
No Matches
IOutputNode.cs
1using System.Threading.Tasks;
2using Waher.Things;
4
5namespace Waher.Output
6{
10 public interface IOutputNode : INode
11 {
15 new string NodeId { get; set; }
16
22 Task<INode> GetParent();
23
28 Task LogErrorAsync(string Body);
29
35 Task LogErrorAsync(string EventId, string Body);
36
41 Task LogWarningAsync(string Body);
42
48 Task LogWarningAsync(string EventId, string Body);
49
54 Task LogInformationAsync(string Body);
55
61 Task LogInformationAsync(string EventId, string Body);
62
68 Task LogMessageAsync(MessageType Type, string Body);
69
76 Task LogMessageAsync(MessageType Type, string EventId, string Body);
77
81 Task<bool> RemoveErrorAsync();
82
87 Task<bool> RemoveErrorAsync(string EventId);
88
92 Task<bool> RemoveWarningAsync();
93
98 Task<bool> RemoveWarningAsync(string EventId);
99
104
109 Task<bool> RemoveInformationAsync(string EventId);
110
116
122 Task<bool> RemoveMessageAsync(MessageType Type, string EventId);
123 }
124}
Base Interface for all output nodes.
Definition: IOutputNode.cs:11
Task< INode > GetParent()
Gets the parent of the node.
Task< bool > RemoveWarningAsync(string EventId)
Removes warning messages with a given event ID from the node.
Task LogInformationAsync(string EventId, string Body)
Logs an informational message on the node.
Task LogMessageAsync(MessageType Type, string EventId, string Body)
Logs a message on the node.
Task LogWarningAsync(string EventId, string Body)
Logs an warning message on the node.
Task< bool > RemoveInformationAsync()
Removes warning messages with an empty event ID from the node.
Task LogWarningAsync(string Body)
Logs an warning message on the node.
Task< bool > RemoveMessageAsync(MessageType Type)
Removes messages with empty event IDs from the node.
Task LogErrorAsync(string Body)
Logs an error message on the node.
Task< bool > RemoveErrorAsync(string EventId)
Removes error messages with a given event ID from the node.
Task LogInformationAsync(string Body)
Logs an informational message on the node.
Task LogMessageAsync(MessageType Type, string Body)
Logs a message on the node.
Task LogErrorAsync(string EventId, string Body)
Logs an error message on the node.
Task< bool > RemoveInformationAsync(string EventId)
Removes an informational message on the node.
new string NodeId
ID of node.
Definition: IOutputNode.cs:15
Task< bool > RemoveMessageAsync(MessageType Type, string EventId)
Logs a message on the node.
Task< bool > RemoveErrorAsync()
Removes error messages with an empty event ID from the node.
Task< bool > RemoveWarningAsync()
Removes warning messages with an empty event ID from the node.
Interface for nodes that are published through the concentrator interface.
Definition: INode.cs:49