public void receiveMessage(final String message)	{
		final String messageType = messageParser.getMessageType(message);
		if (messageType.equals(Messages.requestLock))
			processLockRequest(message);
		else if (messageType.equals(Messages.grantLock))
			processGrantedLock(message);
		else if (messageType.equals(Messages.refuseLock))
			processRefusedLock(message);
		else if (messageType.equals(Messages.clientRequestLock))
			processClientRequestedLock(messageParser.getMessageContent(message), messageParser.getMessageClientIp(message));
		else if (messageType.equals(Messages.clientReleaseLock))
			processClientReleasedLock(messageParser.getMessageContent(message), messageParser.getMessageClientIp(message));
		else if (messageType.equals(Messages.clientConnectionRequest))
			processClientConnectionRequest(message);
	}