Neuron®
The Neuron® is the basis for the creation of open and secure federated networks for smart societies.
Loading...
Searching...
No Matches
ILifeCycleManagement.cs
1using System.Collections.Generic;
2using System.Threading.Tasks;
3
4namespace Waher.Things
5{
9 public interface ILifeCycleManagement : INode
10 {
15 {
16 get;
17 }
18
22 string Owner
23 {
24 get;
25 }
26
31 {
32 get;
33 }
34
39 Task<KeyValuePair<string, object>[]> GetMetaData();
40
46 Task Claimed(string Owner, bool IsPublic);
47
51 Task Disowned();
52
56 Task Removed();
57 }
58}
Interface for nodes whose life cycle can be provisioned.
bool IsProvisioned
If node can be provisioned.
string Owner
Who the owner of the node is. The empty string means the node has no owner.
Task Disowned()
Called when node has been disowned by its owner.
Task Claimed(string Owner, bool IsPublic)
Called when node has been claimed by an owner.
bool IsPublic
If the node is public.
Task Removed()
Called when node has been removed from the registry.
Task< KeyValuePair< string, object >[]> GetMetaData()
Gets meta-data about the node.
Interface for nodes that are published through the concentrator interface.
Definition: INode.cs:49