def METHOD_NAME(self) -> dict:
    """
    Receive messages from all hosts
    Returns:
        msg_from_node (dict): a dictionary which contains messages from each node
    """
    msg_from_node = dict()
    for hostname, conn in self.master_recv_conns.items():
        msg_from_node[hostname] = conn.recv()
    return msg_from_node