public void Register(DummyFollowerNode node)
 {
     if (!nodes.Contains(node))
     {
         nodes.Add(node);
     }
 }
Пример #2
0
        public override bool Equals(object obj)
        {
            if (obj == null || GetType() != obj.GetType())
            {
                return(false);
            }
            DummyFollowerNode otherNode = (obj as DummyFollowerNode);

            return(IP.Equals(otherNode.IP));
        }