struct tapi_job_methods_t
Overview
Methods to operate TAPI Job instances More…
#include <tapi_job_methods.h> struct tapi_job_methods_t { // fields tapi_job_method_create* create; tapi_job_method_start* start; tapi_job_method_allocate_channels* allocate_channels; tapi_job_method_kill* kill; tapi_job_method_killpg* killpg; tapi_job_method_wait* wait; tapi_job_method_stop* stop; tapi_job_method_destroy* destroy; tapi_job_method_wrapper_add* wrapper_add; tapi_job_method_wrapper_delete* wrapper_delete; tapi_job_method_add_exec_param* add_exec_param; tapi_job_method_set_autorestart* set_autorestart; tapi_job_method_set_workdir* set_workdir; tapi_job_method_get_autorestart* get_autorestart; tapi_job_method_recreate* recreate; };
Detailed Documentation
Methods to operate TAPI Job instances
Fields
tapi_job_method_create* create
Method that creates a job on backend side
tapi_job_method_start* start
Method that starts a job
tapi_job_method_allocate_channels* allocate_channels
Method that allocates channels
tapi_job_method_kill* kill
Method that sends a signal to a job
tapi_job_method_killpg* killpg
Method that sends a signal to job’s process group
tapi_job_method_wait* wait
Method that waits for the job completion
tapi_job_method_stop* stop
Method that stops a job
tapi_job_method_destroy* destroy
Method that destroys a job on backend side
tapi_job_method_wrapper_add* wrapper_add
Method that adds a wrapper for the specified job
tapi_job_method_wrapper_delete* wrapper_delete
Method that deletes the wrapper instance handle
tapi_job_method_add_exec_param* add_exec_param
Method that adds a process parameters for the specified job
tapi_job_method_set_autorestart* set_autorestart
Method that sets the autorestart timeout
tapi_job_method_set_workdir* set_workdir
Method that sets the working dir (aka chdir)
tapi_job_method_get_autorestart* get_autorestart
Method that obtains the autorestart timeout
tapi_job_method_recreate* recreate
Method that recreates a job