Module thread_classes :: Class RelaxHostThread
[hide private]
[frames] | no frames]

Class RelaxHostThread

source code


Instance Methods [hide private]
 
__init__(self, relax, job_queue, results_queue, finished_jobs, job_locks, host_data)
Initialisation of the thread.
source code
 
pre_locked_code(self)
Code to run prior to locking the job.
source code
 
post_locked_code(self)
Code to run after locking the job.
source code
 
test_relax(self)
Function for testing if the program path is valid and that relax can execute.
source code
 
test_ssh(self)
Function for testing the SSH connection and public key authentication.
source code
 
test_wd(self)
Function for testing if the working directory on the host machine exist.
source code

Inherited from RelaxThread: close_all_pipes, copy_save_file, exec_relax, kill, mkdir, remote_command, run, start_child, test_dir, test_save_file

Inherited from threading.Thread: __repr__, getName, isAlive, isDaemon, join, setDaemon, setName, start

Inherited from threading.Thread (private): _set_daemon

Inherited from threading._Verbose (private): _note

Inherited from object: __delattr__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __setattr__, __str__

Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

__init__(self, relax, job_queue, results_queue, finished_jobs, job_locks, host_data)
(Constructor)

source code 

Initialisation of the thread.

Overrides: object.__init__

pre_locked_code(self)

source code 

Code to run prior to locking the job.

Overrides: RelaxThread.pre_locked_code