/usr/share/doc/python-kiwi/api/kiwi.tasklet.WaitCondition.html is in python-kiwi 1.9.22-2.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 | <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html><head>
<link rel="stylesheet" type="text/css" href="apidocs.css"/>
<title>API docs for “kiwi.tasklet.WaitCondition”</title>
</head>
<body><h1 class="class">Class k.t.WaitCondition(object):</h1><span id="part">Part of <a href="kiwi.tasklet.html">kiwi.tasklet</a></span><p>known subclasses: <a href="kiwi.tasklet.WaitForCall.html">kiwi.tasklet.WaitForCall</a>, <a href="kiwi.tasklet.WaitForIO.html">kiwi.tasklet.WaitForIO</a>, <a href="kiwi.tasklet.WaitForTimeout.html">kiwi.tasklet.WaitForTimeout</a>, <a href="kiwi.tasklet.WaitForIdle.html">kiwi.tasklet.WaitForIdle</a>, <a href="kiwi.tasklet.WaitForTasklet.html">kiwi.tasklet.WaitForTasklet</a>, <a href="kiwi.tasklet.WaitForSignal.html">kiwi.tasklet.WaitForSignal</a>, <a href="kiwi.tasklet.WaitForProcess.html">kiwi.tasklet.WaitForProcess</a>, <a href="kiwi.tasklet.WaitForMessages.html">kiwi.tasklet.WaitForMessages</a></p><div class="toplevel"><div><p>Base class for all wait-able condition objects.</p>
<p>WaitConditions are used in a yield statement inside tasklets body for
specifying what event(s) it should wait for in order to receive control
once more.</p>
</div></div><table class="children"><tr class="function"><td>Function</td><td><a href="#kiwi.tasklet.WaitCondition.__init__">__init__</a></td><td><div><p>Abstract base class, do not call directly</p>
</div></td></tr><tr class="function"><td>Function</td><td><a href="#kiwi.tasklet.WaitCondition.arm">arm</a></td><td><div><p>Prepare the wait condition to receive events.</p>
</div></td></tr><tr class="function"><td>Function</td><td><a href="#kiwi.tasklet.WaitCondition.disarm">disarm</a></td><td><div><p>Stop the wait condition from receiving events.</p>
</div></td></tr></table>
<div class="function">
<div class="functionHeader">def <a name="kiwi.tasklet.WaitCondition.__init__">__init__(self):</a></div>
<div class="functionBody"><div><p>Abstract base class, do not call directly</p>
</div></div>
</div>
<div class="function">
<div class="functionHeader">def <a name="kiwi.tasklet.WaitCondition.arm">arm(self, tasklet):</a></div>
<div class="functionBody"><div><p>Prepare the wait condition to receive events.</p>
<p>When a wait condition receives the event it is waiting for, it should
call the method <a
href="kiwi.tasklet.Tasklet.wait_condition_fired.html">wait_condition_fired</a>
of the tasklet with the wait condition as argument. The method returns
True or False; if it returns True, it means the WaitCondition object must
"rearm" itself (continue to monitor events), otherwise it should
disarm.</p>
</div><div class="metadata"><span class="tag">param</span> <span class="arg">tasklet</span><span class="body">the tasklet instance the wait condition is to be associated with.
</span></div><div class="metadata"><span class="tag">note</span> <span class="arg">None</span><span class="body">this method normally should not be called directly by the programmer.
</span></div></div>
</div>
<div class="function">
<div class="functionHeader">def <a name="kiwi.tasklet.WaitCondition.disarm">disarm(self):</a></div>
<div class="functionBody"><div><p>Stop the wait condition from receiving events.</p>
</div><div class="metadata"><span class="tag">note</span> <span class="arg">None</span><span class="body">this method normally should not be called by the programmer.
</span></div></div>
</div></body>
|