示例#1
0
 static rPodNetworking()
 {
     IsRunning                   = true;
     nodeParameterData           = new nodeParameterDescription();
     runningThreads              = new List <Thread>();
     LatestNodeData              = new List <LatestNodeDataNode>();
     ZMQKeepAliveTimer           = new System.Timers.Timer(1000);
     ZMQKeepAliveTimer.Elapsed  += ZMQKeepAliveTimerCallback;
     ZMQKeepAliveTimer.Enabled   = true;
     ZMQKeepAliveTimer.AutoReset = true;
 }
示例#2
0
 public rPodNetworking()
 {
     IsRunning         = true;
     nodeParameterData = new nodeParameterDescription();
     runningThreads    = new List <Thread>();
     ZMQTelemetryProcessor.NetworkClass = this;
     LatestNodeData = new List <LatestNodeDataNode>();
     rPodNodeDiscovery.FoundNewNode += new FoundNewNodeHandler(NewNodeDetected);
     ZMQKeepAliveTimer           = new System.Timers.Timer(1000);
     ZMQKeepAliveTimer.Elapsed  += ZMQKeepAliveTimerCallback;
     ZMQKeepAliveTimer.Enabled   = true;
     ZMQKeepAliveTimer.AutoReset = true;
 }