2using System.Collections.Generic;
3using System.Threading.Tasks;
14 private readonly
INode[] nodes;
18 this.nodes =
new INode[]
29 public event EventHandlerAsync<SourceEvent> OnEvent;
46 foreach (
INode Node
in this.nodes)
52 return Task.FromResult<
INode>(Node);
59 return Task.FromResult<
INode>(
null);
Contains information about a language.
Task< string > GetStringAsync(Type Type, int Id, string Default)
Gets the string value of a string ID. If no such string exists, a string is created with the default ...
IEnumerable< INode > RootNodes
Root node references. If no root nodes are available, null is returned.
string SourceID
ID of data source.
IEnumerable< IDataSource > ChildSources
Child sources. If no child sources are available, null is returned.
Task< bool > CanViewAsync(RequestOrigin Caller)
If the data source is visible to the caller.
Task< INode > GetNodeAsync(IThingReference NodeRef)
Gets the node, given a reference to it.
Task< string > GetNameAsync(Language Language)
Gets the name of data source.
DateTime LastChanged
When the source was last updated.
bool HasChildren
If the source has any child sources.
Service Module hosting the XMPP broker and its components.
Tokens available in request.
string From
Address of caller.
Interface for datasources that are published through the concentrator interface.
Interface for nodes that are published through the concentrator interface.
Interface for thing references.
string Partition
Optional partition in which the Node ID is unique.
string SourceId
Optional ID of source containing node.