public GossipNode(GossipSettings settings) { _settings = settings; _gossipManager = new GossipManager(this); _remotePeers = new ConcurrentDictionary <string, IGossipPeer>(); _gossipPeer = new GossipPeer(settings.ClusterName, new IPEndPoint(IPAddress.Any, settings.Port), settings.Id, DateTime.MinValue); }
public virtual void GossipEvent(GossipPeer member, GossipPeerState state) { Console.WriteLine($"{member.Id}, {state}"); }