<rdf:RDF
    xmlns:rdf='http://www.w3.org/1999/02/22-rdf-syntax-ns#'
    xmlns:s='http://snipsnap.org/rdf/snip-schema#'
    xml:base='http://www.micropsi.org/webdoc/rdf'>
    <s:Snip rdf:about='http://www.micropsi.org/webdoc/rdf#timer+component'
         s:cUser='rvuine'
         s:oUser=''
         s:mUser='rvuine'>
        <s:name>timer component</s:name>
        <s:content>1 The timer component&#xD;&#xA;&#xD;&#xA;The timer [component] controls the simulation speed by sending a &quot;tick&quot; signal to the server regularily.&#xD;&#xA;&#xD;&#xA;The timer component defines a channelserver (timeragentserver), which is currently not used, and a channelclient (timerserverclient) used to connect to the server.&#xD;&#xA;&#xD;&#xA;The custom configuration tags for server components are __steplength, autostart__ and __syncmode__.&#xD;&#xA;&#xD;&#xA;Steplength defines the simulation speed in microseconds. You can change this, just make sure not to make the step length too small (you should not make a step shorter than the time needed for the system to calculate it.)&#xD;&#xA;&#xD;&#xA;Please leave autostart at &quot;true&quot; and syncmode at &quot;false&quot;.&#xD;&#xA;&#xD;&#xA;So, a timer definition typically looks like this:&#xD;&#xA;{code:xml}&#xD;&#xA;&lt;component id=&quot;timer&quot;&gt;&#xD;&#xA;  &lt;class&gt;&#xD;&#xA;    org.micropsi.comp.timer.TimerComponent&#xD;&#xA;  &lt;/class&gt;&#xD;&#xA;  &lt;data&gt;&#xD;&#xA;    &lt;steplength&gt; 100 &lt;/steplength&gt;&#xD;&#xA;    &lt;autostart&gt; true &lt;/autostart&gt;&#xD;&#xA;    &lt;syncmode&gt; false &lt;/syncmode&gt;&#xD;&#xA;    &lt;servers&gt;&#xD;&#xA;      &lt;server id=&quot;s1&quot;&gt;&#xD;&#xA;        &lt;type&gt; 0 &lt;/type&gt;&#xD;&#xA;        &lt;name&gt; timeragentserver &lt;/name&gt;&#xD;&#xA;      &lt;/server&gt;&#xD;&#xA;    &lt;/servers&gt;&#xD;&#xA;    &lt;clients&gt;&#xD;&#xA;      &lt;client id=&quot;c1&quot;&gt;&#xD;&#xA;        &lt;type&gt; 0 &lt;/type&gt;&#xD;&#xA;        &lt;name&gt; timerserverclient &lt;/name&gt;&#xD;&#xA;        &lt;connect-to&gt; servertimerserver &lt;/connect-to&gt;&#xD;&#xA;        &lt;usethreadpool&gt; false &lt;/usethreadpool&gt;&#xD;&#xA;      &lt;/client&gt;&#xD;&#xA;    &lt;/clients&gt;&#9;&#xD;&#xA;  &lt;/data&gt;&#xD;&#xA;&lt;/component&gt;&#xD;&#xA;{code}</s:content>
        <s:mTime>2005-04-10 22:53:59.697</s:mTime>
        <s:cTime>2005-04-10 22:50:56.565</s:cTime>
        <s:comments
             rdf:type='http://www.w3.org/1999/02/22-rdf-syntax-ns#Bag'/>
        <s:snipLinks>
            <rdf:Bag>
                <rdf:li rdf:resource='#snipsnap-index'/>
                <rdf:li rdf:resource='#component'/>
                <rdf:li rdf:resource='http://www.micropsi.org/webdoc/rdf#server component'/>
                <rdf:li rdf:resource='http://www.micropsi.org/webdoc/rdf#How to configure the MRS'/>
                <rdf:li rdf:resource='http://www.micropsi.org/webdoc/rdf#What the MRS can do for you'/>
            </rdf:Bag>
        </s:snipLinks>
        <s:attachments
             rdf:type='http://www.w3.org/1999/02/22-rdf-syntax-ns#Bag'/>
    </s:Snip>
</rdf:RDF>
