Daemon methods syntax: Difference between revisions
m (Automatically generated page update) |
m (Automatically generated page update) |
||
Line 8: | Line 8: | ||
<p class="syntax" style="margin-bottom:0px; border-bottom:1px solid; border-left:1px solid; border-right:1px solid; border-top: none; margin-top:0px;"><span class="term">%number</span><span class="literal"> =</span> <span class="term">daemon</span><span class="literal">:[[LastCommandErrorCount (Daemon property)|LastCommandErrorCount]]</span></p> | <p class="syntax" style="margin-bottom:0px; border-bottom:1px solid; border-left:1px solid; border-right:1px solid; border-top: none; margin-top:0px;"><span class="term">%number</span><span class="literal"> =</span> <span class="term">daemon</span><span class="literal">:[[LastCommandErrorCount (Daemon property)|LastCommandErrorCount]]</span></p> | ||
<p class="syntax" style="margin-bottom:0px; border-bottom:1px solid; border-left:1px solid; border-right:1px solid; border-top: none; margin-top:0px;"><span class="term">%number</span><span class="literal"> =</span> <span class="literal">%(Daemon):[[MasterNumber (Daemon property)|MasterNumber]]</span></p> | <p class="syntax" style="margin-bottom:0px; border-bottom:1px solid; border-left:1px solid; border-right:1px solid; border-top: none; margin-top:0px;"><span class="term">%number</span><span class="literal"> =</span> <span class="literal">%(Daemon):[[MasterNumber (Daemon property)|MasterNumber]]</span></p> | ||
<p class="syntax" style="margin-bottom:0px; border-bottom:1px solid; border-left:1px solid; border-right:1px solid; border-top: none; margin-top:0px;"><span class="term">%daemon</span><span class="literal"> =</span> <span class="literal">%(Daemon):[[New (Daemon constructor)|New]]</span><span class="squareb">[</span><span class="literal">(</span> <span class="squareb">[</span><span class="literal" title="Boolean">CopyGlobals=</span> <span class="term" title="Boolean">boolean</span><span class="squareb">]</span><span class="comma">,</span> <span class="squareb">[</span><span class="literal" title="Boolean">Transactional=</span> <span class="term" title="Boolean">boolean</span><span class="squareb">]</span><span class="literal">)</span><span class="squareb">]</span></p> | <p class="syntax" style="margin-bottom:0px; border-bottom:1px solid; border-left:1px solid; border-right:1px solid; border-top: none; margin-top:0px;"><span class="term">%daemon</span><span class="literal"> =</span> <span class="squareb">[</span><span class="literal">%(Daemon)</span><span class="squareb">]</span><span class="literal">:[[New (Daemon constructor)|New]]</span><span class="squareb">[</span><span class="literal">(</span> <span class="squareb">[</span><span class="literal" title="Boolean">CopyGlobals=</span> <span class="term" title="Boolean">boolean</span><span class="squareb">]</span><span class="comma">,</span> <span class="squareb">[</span><span class="literal" title="Boolean">Transactional=</span> <span class="term" title="Boolean">boolean</span><span class="squareb">]</span><span class="literal">)</span><span class="squareb">]</span></p> | ||
<p class="syntax" style="margin-bottom:0px; border-bottom:1px solid; border-left:1px solid; border-right:1px solid; border-top: none; margin-top:0px;"><span class="term">daemon</span><span class="literal">:[[Open (Daemon subroutine)|Open]]</span><span class="literal">(</span> <span class="term" title="String">string</span><span class="comma">,</span> <span class="squareb">[</span><span class="literal" title="Boolean">Default=</span> <span class="term" title="Boolean">boolean</span><span class="squareb">]</span><span class="literal">)</span></p> | <p class="syntax" style="margin-bottom:0px; border-bottom:1px solid; border-left:1px solid; border-right:1px solid; border-top: none; margin-top:0px;"><span class="term">daemon</span><span class="literal">:[[Open (Daemon subroutine)|Open]]</span><span class="literal">(</span> <span class="term" title="String">string</span><span class="comma">,</span> <span class="squareb">[</span><span class="literal" title="Boolean">Default=</span> <span class="term" title="Boolean">boolean</span><span class="squareb">]</span><span class="literal">)</span></p> | ||
<p class="syntax" style="margin-bottom:0px; border-bottom:1px solid; border-left:1px solid; border-right:1px solid; border-top: none; margin-top:0px;"><span class="term">%number</span><span class="literal"> =</span> <span class="literal">%(Daemon):[[ParentNumber (Daemon property)|ParentNumber]]</span></p> | <p class="syntax" style="margin-bottom:0px; border-bottom:1px solid; border-left:1px solid; border-right:1px solid; border-top: none; margin-top:0px;"><span class="term">%number</span><span class="literal"> =</span> <span class="literal">%(Daemon):[[ParentNumber (Daemon property)|ParentNumber]]</span></p> |
Revision as of 00:30, 23 August 2011
The syntax for each of the Daemon class methods is shown below.
Square brackets indicate optional elements of the method invocation. See also the notation conventions for methods and the List of Daemon methods.
%boolean = %(Daemon):AmDaemon
%boolean = daemon:AsynchronousFinished
%(Daemon):GetInputObject( object)
%boolean = daemon:HaveDaemon
%number = daemon:LastCommandErrorCount
%number = %(Daemon):MasterNumber
%daemon = [%(Daemon)]:New[( [CopyGlobals= boolean], [Transactional= boolean])]
daemon:Open( string, [Default= boolean])
%number = %(Daemon):ParentNumber
%(Daemon):ReturnInfoObject( outputObj)
%(Daemon):ReturnObject( outputObj)
[%sl =] daemon:Run( commands, [inputObj], [outputObj], [Info= object])
daemon:RunAsynchronously( commands, [inputObj])
daemon:RunIndependently( commands, [inputObj])
%number = daemon:UserNumber
%userStatistics = daemon:UserStatistics
[%sl =] daemon:WaitAsynchronous[( [object], [Info= object])]