Exemple #1
0
        public virtual void Start()
        {
            Connect();

            Sender   = CreateSender();
            Receiver = CreateReceiver();

            Sender.Start();
            Receiver.Start();

            _heartbeatMonitor.Start();
            _heartbeatMonitor.OnHeartbeatFailure += HeartbeatMonitor_OnFailure;
        }
        public virtual void Start()
        {
            KnxHelper.Logger.LogInformation($"Try to connect to {Host}:{Port}...");
            Connect();

            Sender   = CreateSender();
            Receiver = CreateReceiver();

            Sender.Start();
            Receiver.Start();

            _heartbeatMonitor.Start();
        }