<?xml version="1.0" encoding="UTF-8" standalone="no"?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /><title>usefarmer</title><meta name="generator" content="DocBook XSL Stylesheets V1.75.2" /><link rel="home" href="index.html" title="Flood manual" /><link rel="up" href="ch06.html" title="Chapter 6. Flood Configuration Elements" /><link rel="prev" href="re18.html" title="farm" /><link rel="next" href="re20.html" title="seed" /></head><body><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center">usefarmer</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="re18.html">Prev</a> </td><th width="60%" align="center">Chapter 6. Flood Configuration Elements</th><td width="20%" align="right"> <a accesskey="n" href="re20.html">Next</a></td></tr></table><hr /></div><div class="refentry" title="usefarmer"><a id="usefarmer"></a><div class="titlepage"></div><div class="refnamediv"><h2>Name</h2><p>usefarmer — specifies farmer to use in farm</p></div><div class="refsynopsisdiv" title="synopsis"><h2>synopsis</h2><pre class="synopsis"> <usefarmer [ count="INTEGER" ] [ startcount="INTEGER" ] [ startdelay="INTEGER" ]>STRING</usefarmer> </pre></div><div class="refsection" title="parent elements"><a id="id321990"></a><h2>parent elements</h2><pre class="synopsis"> <a class="link" href="re18.html" title="farm"><farm></a> </pre></div><div class="refsection" title="children elements"><a id="id322007"></a><h2>children elements</h2><p>none.</p></div><div class="refsection" title="attributes"><a id="id322016"></a><h2>attributes</h2><div class="informaltable"><table border="1"><colgroup><col /><col /><col /><col /></colgroup><thead><tr><th align="left">name</th><th align="left">type</th><th align="left">description</th><th align="left">default value</th></tr></thead><tbody><tr><td align="left">count</td><td align="left">INTEGER</td><td align="left"> This attribute specifies amount of farmers to "clone". </td><td align="left">0</td></tr><tr><td align="left">startcount</td><td align="left">INTEGER</td><td align="left"> This attribute specifies amount of farmers to start each time. </td><td align="left">0</td></tr><tr><td align="left">startdelay</td><td align="left">INTEGER</td><td align="left"> This attribute specifies amount of time (in seconds) between each farmer start. </td><td align="left">0</td></tr></tbody></table></div></div><div class="refsection" title="character data"><a id="id322110"></a><h2>character data</h2><p>name of farmer to use</p></div><div class="refsection" title="description"><a id="id322119"></a><h2>description</h2><p> This element asociates farmer with farm. In addition, it is possible to "clone" farmer -- that is -- to have several separate parallel farmers with identical behaviour (profile, urls). </p></div><div class="refsection" title="examples"><a id="id322131"></a><h2>examples</h2><pre class="screen"> <farm> <name>Bingo</name> <usefarmer count="2">john</usefarmer> </farm> </pre></div></div><div class="navfooter"><hr /><table width="100%" summary="Navigation footer"><tr><td width="40%" align="left"><a accesskey="p" href="re18.html">Prev</a> </td><td width="20%" align="center"><a accesskey="u" href="ch06.html">Up</a></td><td width="40%" align="right"> <a accesskey="n" href="re20.html">Next</a></td></tr><tr><td width="40%" align="left" valign="top">farm </td><td width="20%" align="center"><a accesskey="h" href="index.html">Home</a></td><td width="40%" align="right" valign="top"> seed</td></tr></table></div></body></html>