2using System.Threading.Tasks;
48 Client.SetTag(
"SensorClient", Extension);
50 return Task.FromResult<
object>(Extension);
Root node of a simulation model
Abstract base class for IoT XMPP extensions.
Sensor Client XMPP extension
override ISimulationNode Create(ISimulationNode Parent, Model Model)
Creates a new instance of the node.
override Task< object > Add(IActor Instance, Waher.Networking.XMPP.XmppClient Client)
Adds the extension to the client.
override string LocalName
Local name of XML element defining contents of class.
SensorClientExtension(ISimulationNode Parent, Model Model)
Sensor Client XMPP extension
Implements an XMPP sensor client interface.
Manages an XMPP client connection. Implements XMPP, as defined in https://tools.ietf....
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...