class documentation

Basic process representation for L{ProcessMonitor}. Must be subclassed to provide actual start()/stop() implementations.

Constructor must be called from the Python Main thread in order for signal handlers to register properly.

Method __init__ Undocumented
Method __str__ Undocumented
Method get_exit_description Undocumented
Method get_info Get all data about this process in dictionary form @return: dictionary of all relevant process properties @rtype: dict { str: val }
Method is_alive Undocumented
Method should_respawn floating point seconds until respawn otherwise
Method start Undocumented
Method stop Stop the process. Record any significant error messages in the errors parameter
Instance Variable args Undocumented
Instance Variable env Undocumented
Instance Variable exit_code Undocumented
Instance Variable lock Undocumented
Instance Variable name Undocumented
Instance Variable package Undocumented
Instance Variable required Undocumented
Instance Variable respawn Undocumented
Instance Variable respawn_delay Undocumented
Instance Variable spawn_count Undocumented
Instance Variable time_of_death Undocumented
def __init__(self, package, name, args, env, respawn=False, respawn_delay=0.0, required=False):

Undocumented

def __str__(self):

Undocumented

def get_exit_description(self):

Undocumented

def get_info(self):

Get all data about this process in dictionary form @return: dictionary of all relevant process properties @rtype: dict { str: val }

def is_alive(self):

Undocumented

def should_respawn(self):

@return: False if process should not respawn
floating point seconds until respawn otherwise

def start(self):

Undocumented

def stop(self, errors=None):

Stop the process. Record any significant error messages in the errors parameter

@param errors: error messages. stop() will record messages into this list. @type errors: [str]

args =

Undocumented

env =

Undocumented

exit_code =

Undocumented

lock =

Undocumented

name =

Undocumented

package =

Undocumented

required =

Undocumented

respawn =

Undocumented

respawn_delay =

Undocumented

spawn_count: int =

Undocumented

time_of_death =

Undocumented