public virtual void Stop()
        {
            _heartbeatMonitor.Stop();

            Sender?.Stop();
            Receiver?.Stop();
        }
Example #2
0
        public virtual void Stop()
        {
            _heartbeatMonitor.OnHeartbeatFailure -= HeartbeatMonitor_OnFailure;
            _heartbeatMonitor.Stop();

            Sender?.Stop();
            Receiver?.Stop();
        }