397 lines
17 KiB
HTML
397 lines
17 KiB
HTML
<?xml version="1.0" encoding="ascii"?>
|
|
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
|
|
"DTD/xhtml1-transitional.dtd">
|
|
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
|
|
<head>
|
|
<title>entropy.client.mirrors.StatusInterface</title>
|
|
<link rel="stylesheet" href="epydoc.css" type="text/css" />
|
|
<script type="text/javascript" src="epydoc.js"></script>
|
|
</head>
|
|
|
|
<body bgcolor="white" text="black" link="blue" vlink="#204080"
|
|
alink="#204080">
|
|
<!-- ==================== NAVIGATION BAR ==================== -->
|
|
<table class="navbar" border="0" width="100%" cellpadding="0"
|
|
bgcolor="#a0c0ff" cellspacing="0">
|
|
<tr valign="middle">
|
|
<!-- Home link -->
|
|
<th> <a
|
|
href="entropy-module.html">Home</a> </th>
|
|
|
|
<!-- Tree link -->
|
|
<th> <a
|
|
href="module-tree.html">Trees</a> </th>
|
|
|
|
<!-- Index link -->
|
|
<th> <a
|
|
href="identifier-index.html">Indices</a> </th>
|
|
|
|
<!-- Help link -->
|
|
<th> <a
|
|
href="help.html">Help</a> </th>
|
|
|
|
<!-- Project homepage -->
|
|
<th class="navbar" align="right" width="100%">
|
|
<table border="0" cellpadding="0" cellspacing="0">
|
|
<tr><th class="navbar" align="center"
|
|
><a class="navbar" target="_top" href="http://www.sabayon.org/">Entropy Framework</a></th>
|
|
</tr></table></th>
|
|
</tr>
|
|
</table>
|
|
<table width="100%" cellpadding="0" cellspacing="0">
|
|
<tr valign="top">
|
|
<td width="100%">
|
|
<span class="breadcrumbs">
|
|
<a href="entropy-module.html">Package entropy</a> ::
|
|
<a href="entropy.client-module.html">Package client</a> ::
|
|
<a href="entropy.client.mirrors-module.html">Module mirrors</a> ::
|
|
Class StatusInterface
|
|
</span>
|
|
</td>
|
|
<td>
|
|
<table cellpadding="0" cellspacing="0">
|
|
<!-- hide/show private -->
|
|
</table>
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
<!-- ==================== CLASS DESCRIPTION ==================== -->
|
|
<h1 class="epydoc">Class StatusInterface</h1><p class="nomargin-top"><span class="codelink"><a href="entropy.client.mirrors-pysrc.html#StatusInterface">source code</a></span></p>
|
|
<center>
|
|
<center> <map id="uml_class_diagram_for_entropy__12" name="uml_class_diagram_for_entropy__12">
|
|
<area shape="rect" href="entropy.client.mirrors.StatusInterface-class.html#__init__" title="x.__init__(...) initializes x; see x.__class__.__doc__ for signature" alt="" coords="17,372,305,391"/>
|
|
<area shape="rect" href="entropy.client.mirrors.StatusInterface-class.html#add_failing_mirror" title="entropy.client.mirrors.StatusInterface.add_failing_mirror" alt="" coords="17,391,305,409"/>
|
|
<area shape="rect" href="entropy.client.mirrors.StatusInterface-class.html#get_failing_mirror_status" title="entropy.client.mirrors.StatusInterface.get_failing_mirror_status" alt="" coords="17,409,305,428"/>
|
|
<area shape="rect" href="entropy.client.mirrors.StatusInterface-class.html#set_failing_mirror_status" title="entropy.client.mirrors.StatusInterface.set_failing_mirror_status" alt="" coords="17,428,305,447"/>
|
|
<area shape="rect" href="entropy.client.mirrors.StatusInterface-class.html#set_working_mirror" title="entropy.client.mirrors.StatusInterface.set_working_mirror" alt="" coords="17,447,305,465"/>
|
|
<area shape="rect" href="entropy.client.mirrors.StatusInterface-class.html#add_failing_working_mirror" title="entropy.client.mirrors.StatusInterface.add_failing_working_mirror" alt="" coords="17,465,305,484"/>
|
|
<area shape="rect" href="entropy.client.mirrors.StatusInterface-class.html#clear" title="Remove all items from D." alt="" coords="17,484,305,503"/>
|
|
<area shape="rect" href="entropy.client.mirrors.StatusInterface-class.html" title="entropy.client.mirrors.StatusInterface" alt="" coords="16,347,307,504"/>
|
|
<area shape="rect" href="javascript:void(0);" title="cmp(x,y)" alt="" coords="101,36,221,55"/>
|
|
<area shape="rect" href="javascript:void(0);" title="dict.__contains__" alt="" coords="101,55,221,73"/>
|
|
<area shape="rect" href="javascript:void(0);" title="del x[y]" alt="" coords="101,73,221,92"/>
|
|
<area shape="rect" href="javascript:void(0);" title="x==y" alt="" coords="101,92,221,111"/>
|
|
<area shape="rect" href="javascript:void(0);" title="x>=y" alt="" coords="101,111,221,129"/>
|
|
<area shape="rect" href="javascript:void(0);" title="x.__getattribute__('name') <==> x.name" alt="" coords="101,129,221,148"/>
|
|
<area shape="rect" href="javascript:void(0);" title="x[y]" alt="" coords="101,148,221,167"/>
|
|
<area shape="rect" href="javascript:void(0);" title="x>y" alt="" coords="101,167,221,185"/>
|
|
<area shape="rect" href="javascript:void(0);" title="hash(x)" alt="" coords="101,185,221,204"/>
|
|
<area shape="rect" href="javascript:void(0);" title="iter(x)" alt="" coords="101,204,221,223"/>
|
|
<area shape="rect" href="javascript:void(0);" title="x<=y" alt="" coords="101,223,221,241"/>
|
|
<area shape="rect" href="javascript:void(0);" title="len(x)" alt="" coords="101,241,221,260"/>
|
|
<area shape="rect" href="javascript:void(0);" title="x<y" alt="" coords="101,260,221,279"/>
|
|
<area shape="rect" href="javascript:void(0);" title="dict.values" alt="" coords="101,297,221,316"/>
|
|
<area shape="rect" href="javascript:void(0);" title="dict() -> new empty dictionary." alt="" coords="100,11,223,317"/>
|
|
</map>
|
|
<img src="uml_class_diagram_for_entropy__12.gif" alt='' usemap="#uml_class_diagram_for_entropy__12" ismap="ismap" class="graph-without-title" />
|
|
</center>
|
|
</center>
|
|
<hr />
|
|
<!-- ==================== INSTANCE METHODS ==================== -->
|
|
<a name="section-InstanceMethods"></a>
|
|
<table class="summary" border="1" cellpadding="3"
|
|
cellspacing="0" width="100%" bgcolor="white">
|
|
<tr bgcolor="#70b0f0" class="table-header">
|
|
<td align="left" colspan="2" class="table-header">
|
|
<span class="table-header">Instance Methods</span></td>
|
|
</tr>
|
|
<tr>
|
|
<td width="15%" align="right" valign="top" class="summary">
|
|
<span class="summary-type"><pre class="literalblock">
|
|
new empty dictionary
|
|
|
|
</pre></span>
|
|
</td><td class="summary">
|
|
<table width="100%" cellpadding="0" cellspacing="0" border="0">
|
|
<tr>
|
|
<td><span class="summary-sig"><a href="entropy.client.mirrors.StatusInterface-class.html#__init__" class="summary-sig-name">__init__</a>(<span class="summary-sig-arg">self</span>)</span><br />
|
|
x.__init__(...) initializes x; see x.__class__.__doc__ for signature</td>
|
|
<td align="right" valign="top">
|
|
<span class="codelink"><a href="entropy.client.mirrors-pysrc.html#StatusInterface.__init__">source code</a></span>
|
|
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td width="15%" align="right" valign="top" class="summary">
|
|
<span class="summary-type"> </span>
|
|
</td><td class="summary">
|
|
<table width="100%" cellpadding="0" cellspacing="0" border="0">
|
|
<tr>
|
|
<td><span class="summary-sig"><a name="add_failing_mirror"></a><span class="summary-sig-name">add_failing_mirror</span>(<span class="summary-sig-arg">self</span>,
|
|
<span class="summary-sig-arg">mirrorname</span>,
|
|
<span class="summary-sig-arg">increment</span>=<span class="summary-sig-default">1</span>)</span></td>
|
|
<td align="right" valign="top">
|
|
<span class="codelink"><a href="entropy.client.mirrors-pysrc.html#StatusInterface.add_failing_mirror">source code</a></span>
|
|
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td width="15%" align="right" valign="top" class="summary">
|
|
<span class="summary-type"> </span>
|
|
</td><td class="summary">
|
|
<table width="100%" cellpadding="0" cellspacing="0" border="0">
|
|
<tr>
|
|
<td><span class="summary-sig"><a name="get_failing_mirror_status"></a><span class="summary-sig-name">get_failing_mirror_status</span>(<span class="summary-sig-arg">self</span>,
|
|
<span class="summary-sig-arg">mirrorname</span>)</span></td>
|
|
<td align="right" valign="top">
|
|
<span class="codelink"><a href="entropy.client.mirrors-pysrc.html#StatusInterface.get_failing_mirror_status">source code</a></span>
|
|
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td width="15%" align="right" valign="top" class="summary">
|
|
<span class="summary-type"> </span>
|
|
</td><td class="summary">
|
|
<table width="100%" cellpadding="0" cellspacing="0" border="0">
|
|
<tr>
|
|
<td><span class="summary-sig"><a name="set_failing_mirror_status"></a><span class="summary-sig-name">set_failing_mirror_status</span>(<span class="summary-sig-arg">self</span>,
|
|
<span class="summary-sig-arg">mirrorname</span>,
|
|
<span class="summary-sig-arg">value</span>)</span></td>
|
|
<td align="right" valign="top">
|
|
<span class="codelink"><a href="entropy.client.mirrors-pysrc.html#StatusInterface.set_failing_mirror_status">source code</a></span>
|
|
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td width="15%" align="right" valign="top" class="summary">
|
|
<span class="summary-type"> </span>
|
|
</td><td class="summary">
|
|
<table width="100%" cellpadding="0" cellspacing="0" border="0">
|
|
<tr>
|
|
<td><span class="summary-sig"><a name="set_working_mirror"></a><span class="summary-sig-name">set_working_mirror</span>(<span class="summary-sig-arg">self</span>,
|
|
<span class="summary-sig-arg">mirrorname</span>)</span></td>
|
|
<td align="right" valign="top">
|
|
<span class="codelink"><a href="entropy.client.mirrors-pysrc.html#StatusInterface.set_working_mirror">source code</a></span>
|
|
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td width="15%" align="right" valign="top" class="summary">
|
|
<span class="summary-type"> </span>
|
|
</td><td class="summary">
|
|
<table width="100%" cellpadding="0" cellspacing="0" border="0">
|
|
<tr>
|
|
<td><span class="summary-sig"><a name="add_failing_working_mirror"></a><span class="summary-sig-name">add_failing_working_mirror</span>(<span class="summary-sig-arg">self</span>,
|
|
<span class="summary-sig-arg">value</span>)</span></td>
|
|
<td align="right" valign="top">
|
|
<span class="codelink"><a href="entropy.client.mirrors-pysrc.html#StatusInterface.add_failing_working_mirror">source code</a></span>
|
|
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td width="15%" align="right" valign="top" class="summary">
|
|
<span class="summary-type">None</span>
|
|
</td><td class="summary">
|
|
<table width="100%" cellpadding="0" cellspacing="0" border="0">
|
|
<tr>
|
|
<td><span class="summary-sig"><a href="entropy.client.mirrors.StatusInterface-class.html#clear" class="summary-sig-name">clear</a>(<span class="summary-sig-arg">self</span>)</span><br />
|
|
Remove all items from D.</td>
|
|
<td align="right" valign="top">
|
|
<span class="codelink"><a href="entropy.client.mirrors-pysrc.html#StatusInterface.clear">source code</a></span>
|
|
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td colspan="2" class="summary">
|
|
<p class="indent-wrapped-lines"><b>Inherited from <code>dict</code></b>:
|
|
<code>__cmp__</code>,
|
|
<code>__contains__</code>,
|
|
<code>__delitem__</code>,
|
|
<code>__eq__</code>,
|
|
<code>__ge__</code>,
|
|
<code>__getattribute__</code>,
|
|
<code>__getitem__</code>,
|
|
<code>__gt__</code>,
|
|
<code>__hash__</code>,
|
|
<code>__iter__</code>,
|
|
<code>__le__</code>,
|
|
<code>__len__</code>,
|
|
<code>__lt__</code>,
|
|
<code>__ne__</code>,
|
|
<code>__new__</code>,
|
|
<code>__repr__</code>,
|
|
<code>__setitem__</code>,
|
|
<code>copy</code>,
|
|
<code>fromkeys</code>,
|
|
<code>get</code>,
|
|
<code>has_key</code>,
|
|
<code>items</code>,
|
|
<code>iteritems</code>,
|
|
<code>iterkeys</code>,
|
|
<code>itervalues</code>,
|
|
<code>keys</code>,
|
|
<code>pop</code>,
|
|
<code>popitem</code>,
|
|
<code>setdefault</code>,
|
|
<code>update</code>,
|
|
<code>values</code>
|
|
</p>
|
|
<p class="indent-wrapped-lines"><b>Inherited from <code>object</code></b>:
|
|
<code>__delattr__</code>,
|
|
<code>__reduce__</code>,
|
|
<code>__reduce_ex__</code>,
|
|
<code>__setattr__</code>,
|
|
<code>__str__</code>
|
|
</p>
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
<!-- ==================== PROPERTIES ==================== -->
|
|
<a name="section-Properties"></a>
|
|
<table class="summary" border="1" cellpadding="3"
|
|
cellspacing="0" width="100%" bgcolor="white">
|
|
<tr bgcolor="#70b0f0" class="table-header">
|
|
<td align="left" colspan="2" class="table-header">
|
|
<span class="table-header">Properties</span></td>
|
|
</tr>
|
|
<tr>
|
|
<td colspan="2" class="summary">
|
|
<p class="indent-wrapped-lines"><b>Inherited from <code>object</code></b>:
|
|
<code>__class__</code>
|
|
</p>
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
<!-- ==================== METHOD DETAILS ==================== -->
|
|
<a name="section-MethodDetails"></a>
|
|
<table class="details" border="1" cellpadding="3"
|
|
cellspacing="0" width="100%" bgcolor="white">
|
|
<tr bgcolor="#70b0f0" class="table-header">
|
|
<td align="left" colspan="2" class="table-header">
|
|
<span class="table-header">Method Details</span></td>
|
|
</tr>
|
|
</table>
|
|
<a name="__init__"></a>
|
|
<div>
|
|
<table class="details" border="1" cellpadding="3"
|
|
cellspacing="0" width="100%" bgcolor="white">
|
|
<tr><td>
|
|
<table width="100%" cellpadding="0" cellspacing="0" border="0">
|
|
<tr valign="top"><td>
|
|
<h3 class="epydoc"><span class="sig"><span class="sig-name">__init__</span>(<span class="sig-arg">self</span>)</span>
|
|
<br /><em class="fname">(Constructor)</em>
|
|
</h3>
|
|
</td><td align="right" valign="top"
|
|
><span class="codelink"><a href="entropy.client.mirrors-pysrc.html#StatusInterface.__init__">source code</a></span>
|
|
</td>
|
|
</tr></table>
|
|
|
|
<p>x.__init__(...) initializes x; see x.__class__.__doc__ for
|
|
signature</p>
|
|
<dl class="fields">
|
|
<dt>Returns: <pre class="literalblock">
|
|
new empty dictionary
|
|
|
|
</pre></dt>
|
|
<dt>Overrides:
|
|
object.__init__
|
|
<dd><em class="note">(inherited documentation)</em></dd>
|
|
</dt>
|
|
</dl>
|
|
</td></tr></table>
|
|
</div>
|
|
<a name="clear"></a>
|
|
<div>
|
|
<table class="details" border="1" cellpadding="3"
|
|
cellspacing="0" width="100%" bgcolor="white">
|
|
<tr><td>
|
|
<table width="100%" cellpadding="0" cellspacing="0" border="0">
|
|
<tr valign="top"><td>
|
|
<h3 class="epydoc"><span class="sig"><span class="sig-name">clear</span>(<span class="sig-arg">self</span>)</span>
|
|
</h3>
|
|
</td><td align="right" valign="top"
|
|
><span class="codelink"><a href="entropy.client.mirrors-pysrc.html#StatusInterface.clear">source code</a></span>
|
|
</td>
|
|
</tr></table>
|
|
|
|
<p>Remove all items from D.</p>
|
|
<dl class="fields">
|
|
<dt>Returns: None</dt>
|
|
<dt>Overrides:
|
|
dict.clear
|
|
<dd><em class="note">(inherited documentation)</em></dd>
|
|
</dt>
|
|
</dl>
|
|
</td></tr></table>
|
|
</div>
|
|
<br />
|
|
<!-- ==================== NAVIGATION BAR ==================== -->
|
|
<table class="navbar" border="0" width="100%" cellpadding="0"
|
|
bgcolor="#a0c0ff" cellspacing="0">
|
|
<tr valign="middle">
|
|
<!-- Home link -->
|
|
<th> <a
|
|
href="entropy-module.html">Home</a> </th>
|
|
|
|
<!-- Tree link -->
|
|
<th> <a
|
|
href="module-tree.html">Trees</a> </th>
|
|
|
|
<!-- Index link -->
|
|
<th> <a
|
|
href="identifier-index.html">Indices</a> </th>
|
|
|
|
<!-- Help link -->
|
|
<th> <a
|
|
href="help.html">Help</a> </th>
|
|
|
|
<!-- Project homepage -->
|
|
<th class="navbar" align="right" width="100%">
|
|
<table border="0" cellpadding="0" cellspacing="0">
|
|
<tr><th class="navbar" align="center"
|
|
><a class="navbar" target="_top" href="http://www.sabayon.org/">Entropy Framework</a></th>
|
|
</tr></table></th>
|
|
</tr>
|
|
</table>
|
|
<table border="0" cellpadding="0" cellspacing="0" width="100%%">
|
|
<tr>
|
|
<td align="left" class="footer">
|
|
Generated by Epydoc 3.0.1 on Wed Jun 10 13:32:54 2009
|
|
</td>
|
|
<td align="right" class="footer">
|
|
<a target="mainFrame" href="http://epydoc.sourceforge.net"
|
|
>http://epydoc.sourceforge.net</a>
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
|
|
<script type="text/javascript">
|
|
<!--
|
|
// Private objects are initially displayed (because if
|
|
// javascript is turned off then we want them to be
|
|
// visible); but by default, we want to hide them. So hide
|
|
// them unless we have a cookie that says to show them.
|
|
checkCookie();
|
|
// -->
|
|
</script>
|
|
</body>
|
|
</html>
|