2using System.Threading.Tasks;
28 return this.GetAncestor<XmppBrokerNode>();
40 if (!(BrokerNode is
null))
41 return (await BrokerNode.GetBroker()).Client;
45 throw new Exception(
"No XMPP Client associated with node.");
Manages an XMPP client connection. Implements XMPP, as defined in https://tools.ietf....
Static class that dynamically manages types and interfaces available in the runtime environment.
static bool TryGetModuleParameter(string Name, out object Value)
Tries to get a module parameter value.
Base class for all provisioned metering nodes.
Node representing an XMPP broker.
Abstract base class for devices on the XMPP network.
async Task< XmppClient > GetClient()
Gets the XMPP Client associated with node.
XmppDevice()
Abstract base class for devices on the XMPP network.
Task< XmppBrokerNode > GetBrokerNode()
Tries to get the broker node, if one exists.