GetInputObject (Daemon subroutine): Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
mNo edit summary |
||
Line 28: | Line 28: | ||
[[Category:Daemon methods|GetInputObject]] | [[Category:Daemon methods|GetInputObject]] | ||
Revision as of 19:40, 31 December 2010
Retrieve and object passed to the daemon.
GetInputObject is a member of the Daemon class
This shared method retrieves the input object passed by the master thread (in the second argument of the Run method) and makes it available to the daemon.
GetInputObject Syntax
%(Daemon):GetInputObject(%inputObj)
Syntax Terms
- %(Daemon)
- The class name in parentheses denotes a shared method. Specifying %(Daemon): is not the only way to invoke the method (see Daemon class.).
- %inputObj
- The object passed to the daemon method object in the last Run method invocation. %inputObj must be deep copyable, as described in Copying objects.
Usage Notes
- GetInputObject may not be issued on a master thread.
- If the input object passed by the Run method does not match the %inputObj argument of GetInputObject, the request containing GetInputObject is cancelled.
- GetInputObject sets its argument to null if no object or a null object is passed by Run, and subsequent references to that object cancel the request.