Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Last revision Both sides next revision
muster:9.0:template_engine_python [2019/02/08 07:55]
admin
muster:9.0:template_engine_python [2019/04/24 09:15]
admin [Functions called on the engine template and the global template (0)]
Line 904: Line 904:
 </​code>​ </​code>​
 The function is invoked when an instance sends a custom message. The function is invoked when an instance sends a custom message.
 +++|||
 +|**onCustomConsoleMessage(int clientId, string message)**|None|Dispatcher|**critical**|
 +|Invoked when a console sends a custom message|||||
 +|++example|
 +<code python>
 +def onCustomConsoleMessage(self,​ clientId, message):
 + print(message);​
 +</​code>​
 +The function is invoked when a console sends a custom message.
 +++|||
 +|**onCustomNotificatorMessage(int clientId, string message)**|None|Dispatcher|**critical**|
 +|Invoked when a notificator sends a custom message|||||
 +|++example|
 +<code python>
 +def onCustomNotificatorMessage(self,​ clientId, message):
 + print(message);​
 +</​code>​
 +The function is invoked when a notificator sends a custom message.
 ++||| ++|||
 |**onValidateJobDependancies(job)**|kTemplateFunctionBehaviour|Dispatcher|**critical**| |**onValidateJobDependancies(job)**|kTemplateFunctionBehaviour|Dispatcher|**critical**|