Differences

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

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
muster:9.0:template_engine_python [2019/02/08 07:55]
admin
muster:9.0:template_engine_python [2019/04/24 09:19]
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. Available 9.0.13+
 +++|||
 +|**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. Available 9.0.13+
 +++|||
 +|**onCustomDispatcherMessageToConsole(string message)**|None|Console|**critical**|
 +|Invoked when the Dispatcher sends a custom message to a Console connection|||||
 +|++example|
 +<code python>
 +def onCustomDispatcherMessageToConsole(self,​ message):
 + print(message);​
 +</​code>​
 +The function is invoked when the Dispatcher sends a custom message to Console. Available 9.0.13+
 +++|||
 +|**onCustomDispatcherMessageToNode(int instanceId,​string message)**|None|Renderclient|**critical**|
 +|Invoked when the Dispatcher sends a custom message to a node|||||
 +|++example|
 +<code python>
 +def onCustomDispatcherMessageToConsole(self,​ instanceId, message):
 + print(message);​
 +</​code>​
 +The function is invoked when the Dispatcher sends a custom message to a node. Available 9.0.13+
 +++|||
 +|**onCustomDispatcherMessageToNotificator(string message)**|None|Notificator|**critical**|
 +|Invoked when the Dispatcher sends a custom message to a notificator connection|||||
 +|++example|
 +<code python>
 +def onCustomDispatcherMessageToNotificator(self,​ message):
 + print(message);​
 +</​code>​
 +The function is invoked when the Dispatcher sends a custom message to a notificator connection. Available 9.0.13+
 ++||| ++|||
 |**onValidateJobDependancies(job)**|kTemplateFunctionBehaviour|Dispatcher|**critical**| |**onValidateJobDependancies(job)**|kTemplateFunctionBehaviour|Dispatcher|**critical**|