2using System.Collections.Generic;
3using System.Threading.Tasks;
50 return Task.CompletedTask;
Root node of a simulation model
Abstract base class for actors
ISimulationNode Parent
Parent node in the simulation model.
Abstract base class for handler nodes
string EventArgs
Variable name for the event arguments
string HandlerNamespace
Namespace for the handler
virtual void Trigger(IActor Source, params KeyValuePair< string, object >[] Arguments)
Method called when an external event has been received.
string Name
Local element name for the handler
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.
PresenceHandler(ISimulationNode Parent, Model Model)
Custom message handler.
override void RegisterHandlers(IActor Actor, XmppClient Client)
Registers handlers on the XMPP Client.
Manages an XMPP client connection. Implements XMPP, as defined in https://tools.ietf....
void RegisterPresenceHandler(string LocalName, string Namespace, EventHandlerAsync< PresenceEventArgs > Handler, bool PublishNamespaceAsClientFeature)
Registers a Presence handler.
Basic interface for simulator nodes. Implementing this interface allows classes with default contruct...
Basic interface for simulator nodes. Implementing this interface allows classes with default contruct...