Daemon methods syntax: Difference between revisions

From m204wiki
Jump to navigation Jump to search
m (Automatically generated page update)
m (Automatically generated page update)
Line 11: Line 11:
<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="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"> =</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">:[[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 01:40, 20 May 2012

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

[%sl =] daemon:Continue[( [Input= boolean], [Output= object], [Info= object])]

daemon:ContinueAsynchronously[( [Input= boolean])]

daemon:ContinueIndependently[( [Input= boolean])]

%(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)

%(Daemon):ReturnToMaster

[%sl =] daemon:Run( commands, [[Input=] boolean], [[Output=] object], - [Info= object])

daemon:RunAsynchronously( commands, [[Input=] boolean])

daemon:RunIndependently( commands, [[Input=] boolean])

%daemonState = daemon:State

%number = daemon:UserNumber

%userStatistics = daemon:UserStatistics

[%sl =] daemon:WaitAsynchronous[( [[Output=] object], [Info= object])]