<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body>
<p>Hi Troy,<br>
</p>
<p>Just some feedback: I have now implemented the "cancel module
installation" feature in Ezra Project and it works nicely based on
the InstallMgr::terminate() method!</p>
<p>Best regards,<br>
Tobias<br>
</p>
<div class="moz-cite-prefix">On 8/28/20 6:22 PM, Tobias Klein wrote:<br>
</div>
<blockquote type="cite"
cite="mid:E1kBh8v-00020C-LM@smtprelay01.ispgateway.de">
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta name="Generator" content="Microsoft Word 15 (filtered
medium)">
<style><!--
/* Font Definitions */
@font-face
{font-family:"Cambria Math";
panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0cm;
font-size:11.0pt;
font-family:"Calibri",sans-serif;}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:blue;
text-decoration:underline;}
.MsoChpDefault
{mso-style-type:export-only;}
@page WordSection1
{size:612.0pt 792.0pt;
margin:72.0pt 72.0pt 72.0pt 72.0pt;}
div.WordSection1
{page:WordSection1;}
--></style>
<div class="WordSection1">
<p class="MsoNormal"><span lang="EN-US">Thanks! I’ll certainly
make use of this!<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">Tobias</span></p>
<p class="MsoNormal"><o:p> </o:p></p>
<div
style="mso-element:para-border-div;border:none;border-top:solid
#E1E1E1 1.0pt;padding:3.0pt 0cm 0cm 0cm">
<p class="MsoNormal" style="border:none;padding:0cm"><b>From:
</b><a href="mailto:scribe@crosswire.org"
moz-do-not-send="true">Troy A. Griffitts</a><br>
<b>Sent: </b>Donnerstag, 27. August 2020 20:52<br>
<b>To: </b><a href="mailto:sword-devel@crosswire.org"
moz-do-not-send="true">SWORD Developers' Collaboration
Forum</a><br>
<b>Subject: </b>Re: [sword-devel] Abort module installation
via API + Customnetwork timeouts</p>
</div>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Hi Tobias,</p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Yes, you can let your users cancel an
install by calling the </p>
<p class="MsoNormal">InstallMgr::terminate() method. I have
just now commented this method </p>
<p class="MsoNormal">better so its purpose is more clear. My
apologies, Jaak, for not having </p>
<p class="MsoNormal">this commented better for you.</p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Troy</p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">On 8/8/20 9:30 AM, Tobias Klein wrote:</p>
<p class="MsoNormal">> Hi,</p>
<p class="MsoNormal">><o:p> </o:p></p>
<p class="MsoNormal">> Is there a way to abort a module
installation via the SWORD API?</p>
<p class="MsoNormal">> I saw in InstallMgr::installModule
that there is some handling for </p>
<p class="MsoNormal">> when the user aborted the process. But
it doesn't seem like this is </p>
<p class="MsoNormal">> controlled via the API.</p>
<p class="MsoNormal">><o:p> </o:p></p>
<p class="MsoNormal">> One typical use case would be that the
user's download speed is </p>
<p class="MsoNormal">> currently slower then acceptable
(whether due to internet issues or </p>
<p class="MsoNormal">> server issues). In this case, instead
of waiting "forever" one may </p>
<p class="MsoNormal">> want to abort a download/installation.</p>
<p class="MsoNormal">><o:p> </o:p></p>
<p class="MsoNormal">> Also, another question in the same
context: Is it possible to </p>
<p class="MsoNormal">> configure a custom timeout for the
download of modules? What happens </p>
<p class="MsoNormal">> if a repository server goes down? I
remember one time when the Xiphos </p>
<p class="MsoNormal">> repo was not available, waiting times
seemed to be too long in the </p>
<p class="MsoNormal">> frontend (based on long default
timeouts in SWORD?).</p>
<p class="MsoNormal">><o:p> </o:p></p>
<p class="MsoNormal">> Best regards,</p>
<p class="MsoNormal">> Tobias</p>
<p class="MsoNormal">><o:p> </o:p></p>
<p class="MsoNormal">>
_______________________________________________</p>
<p class="MsoNormal">> sword-devel mailing list:
<a class="moz-txt-link-abbreviated" href="mailto:sword-devel@crosswire.org">sword-devel@crosswire.org</a></p>
<p class="MsoNormal">>
<a class="moz-txt-link-freetext" href="http://www.crosswire.org/mailman/listinfo/sword-devel">http://www.crosswire.org/mailman/listinfo/sword-devel</a></p>
<p class="MsoNormal">> Instructions to unsubscribe/change
your settings at above page</p>
<p class="MsoNormal">_______________________________________________</p>
<p class="MsoNormal">sword-devel mailing list:
<a class="moz-txt-link-abbreviated" href="mailto:sword-devel@crosswire.org">sword-devel@crosswire.org</a></p>
<p class="MsoNormal"><a class="moz-txt-link-freetext" href="http://www.crosswire.org/mailman/listinfo/sword-devel">http://www.crosswire.org/mailman/listinfo/sword-devel</a></p>
<p class="MsoNormal">Instructions to unsubscribe/change your
settings at above page</p>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<pre class="moz-quote-pre" wrap="">_______________________________________________
sword-devel mailing list: <a class="moz-txt-link-abbreviated" href="mailto:sword-devel@crosswire.org">sword-devel@crosswire.org</a>
<a class="moz-txt-link-freetext" href="http://www.crosswire.org/mailman/listinfo/sword-devel">http://www.crosswire.org/mailman/listinfo/sword-devel</a>
Instructions to unsubscribe/change your settings at above page</pre>
</blockquote>
</body>
</html>