public CommandState getCommandState(String uniqueID)
	{
		if(currentCommand != null && currentCommand.transactionID.equals(uniqueID))
		{
			return CommandState.RUNNING;
		}
		synchronized (toProcessCommands) 
		{	
			for(CommandRequestInfo commReq:toProcessCommands)
			{
				if(commReq.transactionID.equals(uniqueID))
				{
					return CommandState.INQUEUE;
				}
			}
		}
		synchronized (commandResults) 
		{
			for(CommandResponseInfo comRes:commandResults.values())
			{
				if(comRes.transactionID.equals(uniqueID))
				{
					return CommandState.RESPONSE_READY;
				}
			}
		}
		return CommandState.UNKNOWN;
	}