private void acknowledge(NetMessage n) {
		ReplyMessage r = n.getReplyMessage();
		switch (r.getType()) {
		case NAME_AVAIL:
			chatMenu.nameConfirmed(r.getString(),r.getStatus());
			break;
		case NAME_SET:
			if (r.getStatus())
				connection.send(NetMessage.newBuilder()
						.setType(MessageType.JOIN_CHAT)
						.build().toByteArray());
//				connection.send(new NetObject(NetObject.JOIN_CHAT));
			else
				chatMenu.joinDeniedCuzName();
			break;
		case JOIN_CHAT:
			if (r.getStatus())
				chatMenu.joinGranted();
			else
				chatMenu.joinDenied();
			break;
		default:
			System.err.println("Unhandled acknowledge case in MenuAgent");
			break;
		}
	}