2using System.Collections.Generic;
3using System.Threading.Tasks;
49 Client.SetTag(
"ConcentratorClient", Extension);
51 Extension.OnEvent += (Sender, e) =>
54 new KeyValuePair<string, object>(
"e", e),
55 new KeyValuePair<string, object>(
"Client", Client));
57 return Task.CompletedTask;
60 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.
Concentrator Client XMPP extension
override ISimulationNode Create(ISimulationNode Parent, Model Model)
Creates a new instance of the node.
ConcentratorClientExtension(ISimulationNode Parent, Model Model)
Concentrator Client XMPP extension
override string LocalName
Local name of XML element defining contents of class.
override Task< object > Add(IActor Instance, Waher.Networking.XMPP.XmppClient Client)
Adds the extension to the client.
Abstract base class for IoT XMPP extensions.
Implements an XMPP concentrator 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...