Deadline Scripting Reference  8.0.19.4
Deadline.Events.DeadlineEventListener Class Reference

The abstract event plugin class, which is subclassed in the event plugin python script file. More...

Public Member Functions

void ClearProcessEnvironmentVariables ()
 Clears the extra environment variables for the event plugin. More...
 
string[] GetAuxiliaryFilenames ()
 Gets the list of auxiliary files that were submitted with the job. More...
 
bool GetBooleanConfigEntry (string key)
 Gets a value as a bool from the plugin's configuration for the given key. More...
 
bool GetBooleanConfigEntryWithDefault (string key, bool defaultValue)
 Gets a value as a bool from the plugin's configuration for the given key. If the key doesn't exist, the default value is returned. More...
 
bool GetBooleanPluginInfoEntry (string key)
 Gets the job's plugin info value as a bool for the given key. More...
 
bool GetBooleanPluginInfoEntryWithDefault (string key, bool defaultValue)
 Gets the job's plugin info value as a bool for the given key. If the key doesn't exist, the default value is returned. More...
 
string GetConfigEntry (string key)
 Gets a value from the plugin's configuration for the given key. More...
 
string GetConfigEntryWithDefault (string key, string defaultValue)
 Gets a value from the plugin's configuration for the given key. If the key doesn't exist, the default value is returned. More...
 
string GetDataFilename ()
 Gets the first auxiliary file that was submitted with the job. More...
 
string GetEventDirectory ()
 Gets the event's plugin directory in the Repository. More...
 
float GetFloatConfigEntry (string key)
 Gets a value as a float from the plugin's configuration for the given key. More...
 
float GetFloatConfigEntryWithDefault (string key, float defaultValue)
 Gets a value as a float from the plugin's configuration for the given key. If the key doesn't exist, the default value is returned. More...
 
float GetFloatPluginInfoEntry (string key)
 Gets the job's plugin info value as a float for the given key. More...
 
float GetFloatPluginInfoEntryWithDefault (string key, float defaultValue)
 Gets the job's plugin info value as a float for the given key. If the key doesn't exist, the default value is returned. More...
 
int GetIntegerConfigEntry (string key)
 Gets a value as an integer from the plugin's configuration for the given key. More...
 
int GetIntegerConfigEntryWithDefault (string key, int defaultValue)
 Gets a value as an integer from the plugin's configuration for the given key. If the key doesn't exist, the default value is returned. More...
 
int GetIntegerPluginInfoEntry (string key)
 Gets the job's plugin info value as an integer for the given key. More...
 
int GetIntegerPluginInfoEntryWithDefault (string key, int defaultValue)
 Gets the job's plugin info value as an integer for the given key. If the key doesn't exist, the default value is returned. More...
 
long GetLongConfigEntry (string key)
 Gets a value as a long from the plugin's configuration for the given key. More...
 
long GetLongConfigEntryWithDefault (string key, long defaultValue)
 Gets a value as a long from the plugin's configuration for the given key. If the key doesn't exist, the default value is returned. More...
 
long GetLongPluginInfoEntry (string key)
 Gets the job's plugin info value as a long for the given key. More...
 
long GetLongPluginInfoEntryWithDefault (string key, long defaultValue)
 Gets the job's plugin info value as a long for the given key. If the key doesn't exist, the default value is returned. More...
 
string GetPluginInfoEntry (string key)
 Gets the job's plugin info value for the given key. More...
 
string GetPluginInfoEntryWithDefault (string key, string defaultValue)
 Gets the job's plugin info value for the given key. If the key doesn't exist, the default value is returned. More...
 
string GetProcessEnvironmentVariable (string key)
 Gets the extra environment variable for the event plugin with the given key. If the variable is not defined, an empty string is returned. More...
 
void LogInfo (string message)
 Logs an INFO message. More...
 
void LogStdout (string message)
 Logs a STDOUT message. More...
 
void LogWarning (string message)
 Logs a WARNING message. More...
 
bool ProcessEnvironmentVariableExists (string key)
 Checks if the extra environment with the given key exists. More...
 
int RunProcess (string executable, string arguments, string startupDirectory, int timeoutMilliseconds)
 Runs a process and waits for it to complete. More...
 
int RunProcessAsUser (string executable, string arguments, string startupDirectory, int timeoutMilliseconds, string userName, string domain, string password)
 Runs a process and waits for it to complete. More...
 
void SetProcessEnvironmentVariable (string key, string value)
 Sets extra environment variables for any processes started by this event plugin. The processes must be started using RunProcess(). This will take precedence over a variable in the current environment with the same name. More...
 

Properties

bool UseProcessEnvironmentVariablesOnly [get, set]
 If True, only the extra environment variables defined for the event plugin will be used. If False (the default behavior), the extra environment variables will be merged with the current environment. More...
 

Events

GenericDelegate0 OnHouseCleaningCallback
 If a function is assigned to this callback, it will be called when the House Cleaning operation is performed. More...
 
GenericDelegate3< string, string[], IdleShutdownOptionsOnIdleShutdownCallback
 If a function is assigned to this callback, it will be called when Power Management shuts down a slave machine because it is idle. The string corresponds to the group name and the string array corresponds to the Slave names. More...
 
GenericDelegate1< JobOnJobDeletedCallback
 If a function is assigned to this callback, it will be called when a job is deleted. More...
 
GenericDelegate3< Job, Task, ReportOnJobErrorCallback
 If a function is assigned to this callback, it will be called when a job reports an error while rendering. More...
 
GenericDelegate1< JobOnJobFailedCallback
 If a function is assigned to this callback, it will be called when a job fails. More...
 
GenericDelegate1< JobOnJobFailedEvent
 DEPRECATED: Use OnJobFailedCallback. More...
 
GenericDelegate1< JobOnJobFinishedCallback
 If a function is assigned to this callback, it will be called when a job completes. More...
 
GenericDelegate1< JobOnJobFinishedEvent
 DEPRECATED: Use OnJobFinishedCallback. More...
 
GenericDelegate1< JobOnJobPendedCallback
 If a function is assigned to this callback, it will be called when a job enters the pending state. More...
 
GenericDelegate1< JobOnJobPendedEvent
 DEPRECATED: Use OnJobPendedCallback. More...
 
GenericDelegate1< JobOnJobPurgedCallback
 If a function is assigned to this callback, it will be called when a job is purged. More...
 
GenericDelegate1< JobOnJobReleasedCallback
 If a function is assigned to this callback, it will be called when a pending job is released. More...
 
GenericDelegate1< JobOnJobReleasedEvent
 DEPRECATED: Use OnJobReleasedCallback. More...
 
GenericDelegate1< JobOnJobRequeuedCallback
 If a function is assigned to this callback, it will be called when a job is requeued. More...
 
GenericDelegate1< JobOnJobRequeuedEvent
 DEPRECATED: Use OnJobRequeuedCallback. More...
 
GenericDelegate1< JobOnJobResumedCallback
 If a function is assigned to this callback, it will be called when a suspended or failed job is resumed. More...
 
GenericDelegate1< JobOnJobResumedEvent
 DEPRECATED: Use OnJobResumedCallback. More...
 
GenericDelegate1< JobOnJobStartedCallback
 If a function is assigned to this callback, it will be called when a job has started rendering. More...
 
GenericDelegate1< JobOnJobStartedEvent
 DEPRECATED: Use OnJobStartedCallback. More...
 
GenericDelegate1< JobOnJobSubmittedCallback
 If a function is assigned to this callback, it will be called when a job is submitted. More...
 
GenericDelegate1< JobOnJobSubmittedEvent
 DEPRECATED: Use OnJobSubmittedCallback. More...
 
GenericDelegate1< JobOnJobSuspendedCallback
 If a function is assigned to this callback, it will be called when a job is suspended. More...
 
GenericDelegate1< JobOnJobSuspendedEvent
 DEPRECATED: Use OnJobSuspendedCallback. More...
 
GenericDelegate3< string, string[], MachineRestartOptionsOnMachineRestartCallback
 If a function is assigned to this callback, it will be called when Power Management restarts a slave machine. The string corresponds to the group name and the string array corresponds to the Slave names. More...
 
GenericDelegate3< string, string[], MachineStartupOptionsOnMachineStartupCallback
 If a function is assigned to this callback, it will be called when Power Management starts up a slave machine because it is needed for rendering. The string corresponds to the group name and the string array corresponds to the Slave names. More...
 
GenericDelegate0 OnRepositoryRepairCallback
 If a function is assigned to this callback, it will be called when the Repository Repair operation is performed. More...
 
GenericDelegate1< string > OnSlaveIdleCallback
 If a function is assigned to this callback, it will be called when a slave becomes idle. The string corresponds to the Slave name. More...
 
GenericDelegate2< string, JobOnSlaveRenderingCallback
 If a function is assigned to this callback, it will be called when a slave starts rendering a job. The string corresponds to the Slave name. More...
 
GenericDelegate1< string > OnSlaveStalledCallback
 If a function is assigned to this callback, it will be called when a slave is marked as stalled. The string corresponds to the Slave name. More...
 
GenericDelegate1< string > OnSlaveStartedCallback
 If a function is assigned to this callback, it will be called when a slave is started. The string corresponds to the Slave name. More...
 
GenericDelegate2< string, JobOnSlaveStartingJobCallback
 If a function is assigned to this callback, it will be called when a slave starts loading a job. The string corresponds to the Slave name. More...
 
GenericDelegate1< string > OnSlaveStoppedCallback
 If a function is assigned to this callback, it will be called when a slave is stopped. The string corresponds to the Slave name. More...
 
GenericDelegate3< string, string[], ThermalShutdownOptionsOnThermalShutdownCallback
 If a function is assigned to this callback, it will be called when Power Management shuts down a slave machine due to temperature. The string corresponds to the group name and the string array corresponds to the Slave names. More...
 

Detailed Description

The abstract event plugin class, which is subclassed in the event plugin python script file.

Member Function Documentation

void Deadline.Events.DeadlineEventListener.ClearProcessEnvironmentVariables ( )

Clears the extra environment variables for the event plugin.

string [] Deadline.Events.DeadlineEventListener.GetAuxiliaryFilenames ( )

Gets the list of auxiliary files that were submitted with the job.

Returns
The list of auxiliary files.
bool Deadline.Events.DeadlineEventListener.GetBooleanConfigEntry ( string  key)

Gets a value as a bool from the plugin's configuration for the given key.

Parameters
keyThe name of the plugin info entry. An error is thrown if the key is not defined.
Returns
The value.
bool Deadline.Events.DeadlineEventListener.GetBooleanConfigEntryWithDefault ( string  key,
bool  defaultValue 
)

Gets a value as a bool from the plugin's configuration for the given key. If the key doesn't exist, the default value is returned.

Parameters
keyThe name of the plugin info entry.
defaultValueThe default value.
Returns
The value. If the given key does not exist, the default value is returned.
bool Deadline.Events.DeadlineEventListener.GetBooleanPluginInfoEntry ( string  key)

Gets the job's plugin info value as a bool for the given key.

Parameters
keyThe name of the plugin info entry. An error is thrown if the key is not defined.
Returns
The value.
bool Deadline.Events.DeadlineEventListener.GetBooleanPluginInfoEntryWithDefault ( string  key,
bool  defaultValue 
)

Gets the job's plugin info value as a bool for the given key. If the key doesn't exist, the default value is returned.

Parameters
keyThe name of the plugin info entry.
defaultValueThe default value.
Returns
The value. If the given key does not exist, the default value is returned.
string Deadline.Events.DeadlineEventListener.GetConfigEntry ( string  key)

Gets a value from the plugin's configuration for the given key.

Parameters
keyThe name of the plugin info entry. An error is thrown if the key is not defined.
Returns
The value.
string Deadline.Events.DeadlineEventListener.GetConfigEntryWithDefault ( string  key,
string  defaultValue 
)

Gets a value from the plugin's configuration for the given key. If the key doesn't exist, the default value is returned.

Parameters
keyThe name of the plugin info entry.
defaultValueThe default value.
Returns
The value. If the given key does not exist, the default value is returned.
string Deadline.Events.DeadlineEventListener.GetDataFilename ( )

Gets the first auxiliary file that was submitted with the job.

Returns
The name of the auxiliary file. If there are no auxiliary files, an empty string is returned.
string Deadline.Events.DeadlineEventListener.GetEventDirectory ( )

Gets the event's plugin directory in the Repository.

Returns
The local plugin directory path.
float Deadline.Events.DeadlineEventListener.GetFloatConfigEntry ( string  key)

Gets a value as a float from the plugin's configuration for the given key.

Parameters
keyThe name of the plugin info entry. An error is thrown if the key is not defined.
Returns
The value.
float Deadline.Events.DeadlineEventListener.GetFloatConfigEntryWithDefault ( string  key,
float  defaultValue 
)

Gets a value as a float from the plugin's configuration for the given key. If the key doesn't exist, the default value is returned.

Parameters
keyThe name of the plugin info entry.
defaultValueThe default value.
Returns
The value. If the given key does not exist, the default value is returned.
float Deadline.Events.DeadlineEventListener.GetFloatPluginInfoEntry ( string  key)

Gets the job's plugin info value as a float for the given key.

Parameters
keyThe name of the plugin info entry. An error is thrown if the key is not defined.
Returns
The value.
float Deadline.Events.DeadlineEventListener.GetFloatPluginInfoEntryWithDefault ( string  key,
float  defaultValue 
)

Gets the job's plugin info value as a float for the given key. If the key doesn't exist, the default value is returned.

Parameters
keyThe name of the plugin info entry.
defaultValueThe default value.
Returns
The value. If the given key does not exist, the default value is returned.
int Deadline.Events.DeadlineEventListener.GetIntegerConfigEntry ( string  key)

Gets a value as an integer from the plugin's configuration for the given key.

Parameters
keyThe name of the plugin info entry. An error is thrown if the key is not defined.
Returns
The value.
int Deadline.Events.DeadlineEventListener.GetIntegerConfigEntryWithDefault ( string  key,
int  defaultValue 
)

Gets a value as an integer from the plugin's configuration for the given key. If the key doesn't exist, the default value is returned.

Parameters
keyThe name of the plugin info entry.
defaultValueThe default value.
Returns
The value. If the given key does not exist, the default value is returned.
int Deadline.Events.DeadlineEventListener.GetIntegerPluginInfoEntry ( string  key)

Gets the job's plugin info value as an integer for the given key.

Parameters
keyThe name of the plugin info entry. An error is thrown if the key is not defined.
Returns
The value.
int Deadline.Events.DeadlineEventListener.GetIntegerPluginInfoEntryWithDefault ( string  key,
int  defaultValue 
)

Gets the job's plugin info value as an integer for the given key. If the key doesn't exist, the default value is returned.

Parameters
keyThe name of the plugin info entry.
defaultValueThe default value.
Returns
The value. If the given key does not exist, the default value is returned.
long Deadline.Events.DeadlineEventListener.GetLongConfigEntry ( string  key)

Gets a value as a long from the plugin's configuration for the given key.

Parameters
keyThe name of the plugin info entry. An error is thrown if the key is not defined.
Returns
The value.
long Deadline.Events.DeadlineEventListener.GetLongConfigEntryWithDefault ( string  key,
long  defaultValue 
)

Gets a value as a long from the plugin's configuration for the given key. If the key doesn't exist, the default value is returned.

Parameters
keyThe name of the plugin info entry.
defaultValueThe default value.
Returns
The value. If the given key does not exist, the default value is returned.
long Deadline.Events.DeadlineEventListener.GetLongPluginInfoEntry ( string  key)

Gets the job's plugin info value as a long for the given key.

Parameters
keyThe name of the plugin info entry. An error is thrown if the key is not defined.
Returns
The value.
long Deadline.Events.DeadlineEventListener.GetLongPluginInfoEntryWithDefault ( string  key,
long  defaultValue 
)

Gets the job's plugin info value as a long for the given key. If the key doesn't exist, the default value is returned.

Parameters
keyThe name of the plugin info entry.
defaultValueThe default value.
Returns
The value. If the given key does not exist, the default value is returned.
string Deadline.Events.DeadlineEventListener.GetPluginInfoEntry ( string  key)

Gets the job's plugin info value for the given key.

Parameters
keyThe name of the plugin info entry. An error is thrown if the key is not defined.
Returns
The value.
string Deadline.Events.DeadlineEventListener.GetPluginInfoEntryWithDefault ( string  key,
string  defaultValue 
)

Gets the job's plugin info value for the given key. If the key doesn't exist, the default value is returned.

Parameters
keyThe name of the plugin info entry.
defaultValueThe default value.
Returns
The value. If the given key does not exist, the default value is returned.
string Deadline.Events.DeadlineEventListener.GetProcessEnvironmentVariable ( string  key)

Gets the extra environment variable for the event plugin with the given key. If the variable is not defined, an empty string is returned.

Parameters
keyThe name of the environment variable.
Returns
The value, or an empty string if the variable is not defined.
void Deadline.Events.DeadlineEventListener.LogInfo ( string  message)

Logs an INFO message.

Parameters
messageThe message.
void Deadline.Events.DeadlineEventListener.LogStdout ( string  message)

Logs a STDOUT message.

Parameters
messageThe message.
void Deadline.Events.DeadlineEventListener.LogWarning ( string  message)

Logs a WARNING message.

Parameters
messageThe message.
bool Deadline.Events.DeadlineEventListener.ProcessEnvironmentVariableExists ( string  key)

Checks if the extra environment with the given key exists.

Parameters
keyThe name of the environment variable.
Returns
True if the variable exists, otherwise False.
int Deadline.Events.DeadlineEventListener.RunProcess ( string  executable,
string  arguments,
string  startupDirectory,
int  timeoutMilliseconds 
)

Runs a process and waits for it to complete.

Parameters
executableThe executable to run.
argumentsThe arguments to pass to the executable.
startupDirectoryThe directory to start the exectuable in. Specify an empty string to use directory the executable is in.
timeoutMillisecondsThe number of milliseconds for the process to exit, otherwise an error is thrown. If this is less than 0, this will block until the process exits.
Returns
The exit code of the process.
int Deadline.Events.DeadlineEventListener.RunProcessAsUser ( string  executable,
string  arguments,
string  startupDirectory,
int  timeoutMilliseconds,
string  userName,
string  domain,
string  password 
)

Runs a process and waits for it to complete.

Parameters
executableThe executable to run.
argumentsThe arguments to pass to the executable.
startupDirectoryThe directory to start the exectuable in. Specify an empty string to use directory the executable is in.
timeoutMillisecondsThe number of milliseconds for the process to exit, otherwise an error is thrown. If this is less than 0, this will block until the process exits.
userNameThe name of the user to run the process as. This is required for Windows, Linux, and Mac OS X.
domainThe user's domain name, which is used to run the process as the given user. This is only required on Windows.
passwordThe user's password, which is used to run the process as the given user. This is only required on Windows.
Returns
The exit code of the process.
void Deadline.Events.DeadlineEventListener.SetProcessEnvironmentVariable ( string  key,
string  value 
)

Sets extra environment variables for any processes started by this event plugin. The processes must be started using RunProcess(). This will take precedence over a variable in the current environment with the same name.

Parameters
keyThe name of the environment variable.
valueThe value.

Property Documentation

bool Deadline.Events.DeadlineEventListener.UseProcessEnvironmentVariablesOnly
getset

If True, only the extra environment variables defined for the event plugin will be used. If False (the default behavior), the extra environment variables will be merged with the current environment.

Event Documentation

GenericDelegate0 Deadline.Events.DeadlineEventListener.OnHouseCleaningCallback

If a function is assigned to this callback, it will be called when the House Cleaning operation is performed.

GenericDelegate3<string, string[], IdleShutdownOptions> Deadline.Events.DeadlineEventListener.OnIdleShutdownCallback

If a function is assigned to this callback, it will be called when Power Management shuts down a slave machine because it is idle. The string corresponds to the group name and the string array corresponds to the Slave names.

GenericDelegate1<Job> Deadline.Events.DeadlineEventListener.OnJobDeletedCallback

If a function is assigned to this callback, it will be called when a job is deleted.

GenericDelegate3<Job, Task, Report> Deadline.Events.DeadlineEventListener.OnJobErrorCallback

If a function is assigned to this callback, it will be called when a job reports an error while rendering.

GenericDelegate1<Job> Deadline.Events.DeadlineEventListener.OnJobFailedCallback

If a function is assigned to this callback, it will be called when a job fails.

GenericDelegate1<Job> Deadline.Events.DeadlineEventListener.OnJobFailedEvent

DEPRECATED: Use OnJobFailedCallback.

GenericDelegate1<Job> Deadline.Events.DeadlineEventListener.OnJobFinishedCallback

If a function is assigned to this callback, it will be called when a job completes.

GenericDelegate1<Job> Deadline.Events.DeadlineEventListener.OnJobFinishedEvent

DEPRECATED: Use OnJobFinishedCallback.

GenericDelegate1<Job> Deadline.Events.DeadlineEventListener.OnJobPendedCallback

If a function is assigned to this callback, it will be called when a job enters the pending state.

GenericDelegate1<Job> Deadline.Events.DeadlineEventListener.OnJobPendedEvent

DEPRECATED: Use OnJobPendedCallback.

GenericDelegate1<Job> Deadline.Events.DeadlineEventListener.OnJobPurgedCallback

If a function is assigned to this callback, it will be called when a job is purged.

GenericDelegate1<Job> Deadline.Events.DeadlineEventListener.OnJobReleasedCallback

If a function is assigned to this callback, it will be called when a pending job is released.

GenericDelegate1<Job> Deadline.Events.DeadlineEventListener.OnJobReleasedEvent

DEPRECATED: Use OnJobReleasedCallback.

GenericDelegate1<Job> Deadline.Events.DeadlineEventListener.OnJobRequeuedCallback

If a function is assigned to this callback, it will be called when a job is requeued.

GenericDelegate1<Job> Deadline.Events.DeadlineEventListener.OnJobRequeuedEvent

DEPRECATED: Use OnJobRequeuedCallback.

GenericDelegate1<Job> Deadline.Events.DeadlineEventListener.OnJobResumedCallback

If a function is assigned to this callback, it will be called when a suspended or failed job is resumed.

GenericDelegate1<Job> Deadline.Events.DeadlineEventListener.OnJobResumedEvent

DEPRECATED: Use OnJobResumedCallback.

GenericDelegate1<Job> Deadline.Events.DeadlineEventListener.OnJobStartedCallback

If a function is assigned to this callback, it will be called when a job has started rendering.

GenericDelegate1<Job> Deadline.Events.DeadlineEventListener.OnJobStartedEvent

DEPRECATED: Use OnJobStartedCallback.

GenericDelegate1<Job> Deadline.Events.DeadlineEventListener.OnJobSubmittedCallback

If a function is assigned to this callback, it will be called when a job is submitted.

GenericDelegate1<Job> Deadline.Events.DeadlineEventListener.OnJobSubmittedEvent

DEPRECATED: Use OnJobSubmittedCallback.

GenericDelegate1<Job> Deadline.Events.DeadlineEventListener.OnJobSuspendedCallback

If a function is assigned to this callback, it will be called when a job is suspended.

GenericDelegate1<Job> Deadline.Events.DeadlineEventListener.OnJobSuspendedEvent

DEPRECATED: Use OnJobSuspendedCallback.

GenericDelegate3<string, string[], MachineRestartOptions> Deadline.Events.DeadlineEventListener.OnMachineRestartCallback

If a function is assigned to this callback, it will be called when Power Management restarts a slave machine. The string corresponds to the group name and the string array corresponds to the Slave names.

GenericDelegate3<string, string[], MachineStartupOptions> Deadline.Events.DeadlineEventListener.OnMachineStartupCallback

If a function is assigned to this callback, it will be called when Power Management starts up a slave machine because it is needed for rendering. The string corresponds to the group name and the string array corresponds to the Slave names.

GenericDelegate0 Deadline.Events.DeadlineEventListener.OnRepositoryRepairCallback

If a function is assigned to this callback, it will be called when the Repository Repair operation is performed.

GenericDelegate1<string> Deadline.Events.DeadlineEventListener.OnSlaveIdleCallback

If a function is assigned to this callback, it will be called when a slave becomes idle. The string corresponds to the Slave name.

GenericDelegate2<string, Job> Deadline.Events.DeadlineEventListener.OnSlaveRenderingCallback

If a function is assigned to this callback, it will be called when a slave starts rendering a job. The string corresponds to the Slave name.

GenericDelegate1<string> Deadline.Events.DeadlineEventListener.OnSlaveStalledCallback

If a function is assigned to this callback, it will be called when a slave is marked as stalled. The string corresponds to the Slave name.

GenericDelegate1<string> Deadline.Events.DeadlineEventListener.OnSlaveStartedCallback

If a function is assigned to this callback, it will be called when a slave is started. The string corresponds to the Slave name.

GenericDelegate2<string, Job> Deadline.Events.DeadlineEventListener.OnSlaveStartingJobCallback

If a function is assigned to this callback, it will be called when a slave starts loading a job. The string corresponds to the Slave name.

GenericDelegate1<string> Deadline.Events.DeadlineEventListener.OnSlaveStoppedCallback

If a function is assigned to this callback, it will be called when a slave is stopped. The string corresponds to the Slave name.

GenericDelegate3<string, string[], ThermalShutdownOptions> Deadline.Events.DeadlineEventListener.OnThermalShutdownCallback

If a function is assigned to this callback, it will be called when Power Management shuts down a slave machine due to temperature. The string corresponds to the group name and the string array corresponds to the Slave names.