Пример #1
0
        private void HandleJoinAckAck(JoinAckAckMessage msg)
        {
            var joinEndMsg = new JoinEndMessage()
            {
                SourceID      = _config.ID,
                DestinationID = Constants.NULL_DESTINATION,
                NodeCount     = _nodeCount + 1
            };

            SendMessage(joinEndMsg, _group);
        }
Пример #2
0
 private void HandleJoinEnd(JoinEndMessage msg)
 {
     UpdateNodeCount(msg.NodeCount);
     _processor.Start();
 }