public HelloMessage createHello()
	{

		IP myAddress = null;
		try {
			myAddress = new IP(InetAddress.getLocalHost());
		} catch (UnknownHostException e) {
			e.printStackTrace();
		}
		HelloMessage result = new HelloMessage(myAddress);
		try {
			lock.lock();
			for (IP neighbor : table.keySet()) {
				if (table.get(neighbor).isSymmetric(myAddress))
					result.addSymmetric(neighbor);
				else
					result.addHeard(neighbor);
			}
		}
		finally {
			lock.unlock();
		}
		return result;
	}