2using System.Collections.Generic;
3using System.Threading.Tasks;
57 Client.SetTag(
"SensorServer", Extension);
59 Extension.OnExecuteReadoutRequest += (Sender, e) =>
62 new KeyValuePair<string, object>(
"e", e),
63 new KeyValuePair<string, object>(
"Client", Client)))
68 return Task.CompletedTask;
71 return Task.FromResult<
object>(Extension);
Root node of a simulation model
bool ExternalEvent(IExternalEventsNode Source, string Name, params KeyValuePair< string, object >[] Arguments)
Method called when an external event has been received.
Abstract base class for IoT XMPP extensions.
Sensor Server XMPP extension
override Task< object > Add(IActor Instance, Waher.Networking.XMPP.XmppClient Client)
Adds the extension to the client.
SensorServerExtension(ISimulationNode Parent, Model Model)
Sensor Server XMPP extension
override string LocalName
Local name of XML element defining contents of class.
override ISimulationNode Create(ISimulationNode Parent, Model Model)
Creates a new instance of the node.
Implements an XMPP provisioning client interface.
Implements an XMPP sensor server interface.
Manages an XMPP client connection. Implements XMPP, as defined in https://tools.ietf....
Contains information about an error on a thing
Contains a reference to a thing
static ThingReference Empty
Empty thing reference. Can be used by sensors that are not part of a concentrator during readout.
Basic interface for simulator nodes. Implementing this interface allows classes with default contruct...
ISimulationNode Parent
Parent node in the simulation model.
Basic interface for simulator nodes. Implementing this interface allows classes with default contruct...