LOG.info("Received " + message.getData() + " updates from "
+ message.getTag() + " in SuperStep " + peer.getSuperstepCount());
}
for (String name : peer.getAllPeerNames()) {
peer.send(name, new BooleanMessage("", count > 0 ? true : false));
}
}
peer.sync();
BooleanMessage message = (BooleanMessage) peer.getCurrentMessage();
return message.getData();
}