Ejemplo n.º 1
0
        public void DoSpreadMessage(Proposal p, int actualRound, int totalRounds, int numberOfMessages, String clientToSendURL)
        {
            Console.WriteLine("Mandei ao/a " + clientToSendURL);
            ClientInterface chosenClient = (ClientInterface)Activator.GetObject(typeof(ClientInterface), clientToSendURL);

            chosenClient.Gossip(p, actualRound + 1, totalRounds, numberOfMessages);
        }