Neuron®
The Neuron® is the basis for the creation of open and secure federated networks for smart societies.
Loading...
Searching...
No Matches
XmppActorTcp.cs
1using System;
2
4{
8 public class XmppActorTcp : XmppActor
9 {
16 : base(Parent, Model)
17 {
18 }
19
29 {
30 }
31
35 public override string LocalName => nameof(XmppActorTcp);
36
44 {
45 return new XmppActorTcp(Parent, Model);
46 }
47
57 {
58 return new XmppActorTcp(this, this.Model, InstanceIndex, InstanceId);
59 }
60 }
61}
Root node of a simulation model
Definition: Model.cs:49
string InstanceId
ID of actor instance.
Definition: Actor.cs:57
int InstanceIndex
Actor instance index.
Definition: Actor.cs:67
Abstract base class for XMPP actors.
Definition: XmppActor.cs:23
XMPP Actor connecting to the XMPP network using traditional TCP (c2s).
Definition: XmppActorTcp.cs:9
XmppActorTcp(ISimulationNode Parent, Model Model)
XMPP Actor connecting to the XMPP network using traditional TCP (c2s).
Definition: XmppActorTcp.cs:15
XmppActorTcp(ISimulationNode Parent, Model Model, int InstanceIndex, string InstanceId)
XMPP Actor connecting to the XMPP network using traditional TCP (c2s).
Definition: XmppActorTcp.cs:27
override XmppActor CreateInstanceObject(int InstanceIndex, string InstanceId)
Creates an instance object of the XMPP actor, and initializes it.
Definition: XmppActorTcp.cs:56
override ISimulationNode Create(ISimulationNode Parent, Model Model)
Creates a new instance of the node.
Definition: XmppActorTcp.cs:43
override string LocalName
Local name of XML element defining contents of class.
Definition: XmppActorTcp.cs:35
Basic interface for simulator nodes. Implementing this interface allows classes with default contruct...
ISimulationNode Parent
Parent node in the simulation model.