Continue (Daemon function): Difference between revisions
Jump to navigation
Jump to search
m (Automatically generated page update) |
mNo edit summary |
||
Line 1: | Line 1: | ||
{{Template:Daemon:Continue subtitle}} | {{Template:Daemon:Continue subtitle}} | ||
This | This method can be used to tell a daemon that did a ReturnToMaster daemon class call to continue processing at the point of the call. | ||
==Syntax== | ==Syntax== | ||
{{Template:Daemon:Continue syntax}} | {{Template:Daemon:Continue syntax}} | ||
===Syntax terms=== | ===Syntax terms=== | ||
<table class="syntaxTable"> | <table class="syntaxTable"> | ||
<tr><th>%stringlist</th><td><var>Stringlist</var> object</td></tr> | <tr><th>%stringlist</th><td>If specified, a <var>[[Stringlist class|Stringlist]]</var> object to contain the terminal output from the continued request on the daemon thread.</td></tr> | ||
<tr><th>daemon</th> | <tr><th>daemon</th> | ||
<td>Daemon object</td></tr> | <td>A <var>[[Daemon class|Daemon]]</var> object</td></tr> | ||
<tr><th><var>Input</var></th> | <tr><th><var>Input</var></th> | ||
<td><var> | <td>The input object passed to the daemon thread. This optional, [[Methods#Named parameters|name required]] argument is passed by deep copy and not by reference, so <var class="term">Input</var> must be deep copyable, as described in: [[Copying objects|"Copying objects"]]. The passed object can be retrieved by the daemon thread using <var>[[GetInputObject (Daemon subroutine)|GetInputObject]]</var>.</td></tr> | ||
<tr><th><var>Output</var></th> | <tr><th><var>Output</var></th> | ||
<td><var> | <td>The output object returned from the daemon thread. This optional, [[Methods#Named parameters|name required]] argument is passed by deep copy and not by reference, so <var class="term">Output</var> must be deep copyable, as described in: [[Copying objects|"Copying objects"]]. The object set to <var class="term">Output</var> is the object passed by the daemon thread using<var>[[ReturnObject (Daemon subroutine)|ReturnObject]]</var>. | ||
<p>Because <var class="term">Output</var> is an output variable, it cannot itself be contained inside an object: that is, it must be a local or a common %variable.</p></td></tr> | |||
<tr><th><var>Info</var></th> | <tr><th><var>Info</var></th> | ||
<td><var> | <td><td>An optional, [[Methods#Named parameters|name required]] parameter that indicates a second output object returned from the daemon thread. This optional argument is passed by deep copy and not by reference, so <var class="term">Info</var> must be deep copyable, as described in: [[Copying objects|"Copying objects"]]. The object set to <var class="term">Info</var> is the object passed by the daemon thread using <var>[[ReturnInfoObject (Daemon subroutine)|ReturnInfoObject]]</var>. | ||
<p>Because <var class="term">Info</var> is an output variable, it cannot itself be contained inside an object: that is, it must be a local or a common %variable. </p></td></tr> | |||
</table> | </table> | ||
==Usage notes== | ==Usage notes== |
Revision as of 02:52, 13 May 2012
Continue processing in daemon (Daemon class)
[Introduced in Sirius Mods 8.1]
This method can be used to tell a daemon that did a ReturnToMaster daemon class call to continue processing at the point of the call.
Syntax
[%sl =] daemon:Continue[( [Input= object], [Output= object], [Info= object])] Throws DaemonLost, IncorrectDaemonState
Syntax terms
%stringlist | If specified, a Stringlist object to contain the terminal output from the continued request on the daemon thread. | |
---|---|---|
daemon | A Daemon object | |
Input | The input object passed to the daemon thread. This optional, name required argument is passed by deep copy and not by reference, so Input must be deep copyable, as described in: "Copying objects". The passed object can be retrieved by the daemon thread using GetInputObject. | |
Output | The output object returned from the daemon thread. This optional, name required argument is passed by deep copy and not by reference, so Output must be deep copyable, as described in: "Copying objects". The object set to Output is the object passed by the daemon thread usingReturnObject.
Because Output is an output variable, it cannot itself be contained inside an object: that is, it must be a local or a common %variable. | |
Info | An optional, name required parameter that indicates a second output object returned from the daemon thread. This optional argument is passed by deep copy and not by reference, so Info must be deep copyable, as described in: "Copying objects". The object set to Info is the object passed by the daemon thread using ReturnInfoObject.
Because Info is an output variable, it cannot itself be contained inside an object: that is, it must be a local or a common %variable. |