Package multi :: Module misc :: Class Result_string
[hide private]
[frames] | no frames]

Class Result_string

source code


A simple result from a slave containing a result.

The processor will print this string via sys.stdout.


Note: This may become a result_command so as to simplify things in the end.

Instance Methods [hide private]
 
__init__(self, processor, string, completed)
Initialiser.
source code

Inherited from object: __delattr__, __format__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__, __sizeof__, __str__, __subclasshook__

Instance Variables [hide private]

Inherited from Result: completed, memo_id, rank

Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

__init__(self, processor, string, completed)
(Constructor)

source code 

Initialiser.

Parameters:
  • string (str) - A string to return the master processor for output to STDOUT (note the master may split the string into components for STDOUT and STDERR depending on the prefix string. This class is not really designed for subclassing.
Overrides: object.__init__

To Do: Check inherited parameters are documented.