Neuron®
The Neuron® is the basis for the creation of open and secure federated networks for smart societies.
Loading...
Searching...
No Matches
XmppActivityObject.cs
1using System;
3
5{
9 public class XmppActivityObject
10 {
15
19 public string UserName;
20
24 public string InstanceId;
25
29 public int InstanceIndex;
30
37 public object this[string Index]
38 {
39 get
40 {
41 if (this.Client.TryGetTag(Index, out object Obj))
42 return Obj;
43 else
44 throw new Exception("No extension interface found with name " + Index);
45 }
46 }
47 }
48}
Object used in simulation activities.
XmppClient Client
XMPP Client reference
string UserName
User name used in connection
Manages an XMPP client connection. Implements XMPP, as defined in https://tools.ietf....
Definition: XmppClient.cs:59
bool TryGetTag(string TagName, out object Tag)
Tries to get a tag from the client. Tags can be used to attached application specific objects to the ...
Definition: XmppClient.cs:7207