2using System.Collections.Generic;
3using System.Threading.Tasks;
13 private readonly
INode[] nodes;
25 public event EventHandlerAsync<SourceEvent> OnEvent;
39 foreach (
INode Node
in this.nodes)
41 if (Node.
NodeId == NodeRef.NodeId &&
45 return Task.FromResult<
INode>(Node);
49 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 ...
Task< bool > CanViewAsync(RequestOrigin Caller)
If the data source is visible to the caller.
bool HasChildren
If the source has any child sources.
Task< string > GetNameAsync(Language Language)
Gets the name of data source.
Task< INode > GetNodeAsync(IThingReference NodeRef)
Gets the node, given a reference to it.
IEnumerable< INode > RootNodes
Root node references. If no root nodes are available, null is returned.
DateTime LastChanged
When the source was last updated.
IEnumerable< IDataSource > ChildSources
Child sources. If no child sources are available, null is returned.
string SourceID
ID of data source.
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.