private void processGrantedLock(final String message)	{
		final String lock = messageParser.getMessageContent(message);
		if (!lockManager.isLockGiven(lock))	{
			lockManager.removeNodeFromLockQueue(lock, messageParser.getMessageSender(message));
			if (!lockManager.nodesLeftInLockQueue(lock))	{
				takeLock(lock);
				System.out.println("Node with ID " + id + " granted lock named \"" + lock + "\" to client with ip " + messageParser.getMessageClientIp(message));
				final String clientMessage = messageBuilder.constructMessage(id, Messages.clientGrantLock, lock);
				messageManager.sendMessage(clientMessage, messageParser.getMessageClientIp(message));
			}
		}
	}