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; }
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; }