Differences

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

Link to this comparison view

Both sides previous revision Previous revision
muster:9.0:template_engine_python [2019/04/24 09:15]
admin [Functions called on the engine template and the global template (0)]
muster:9.0:template_engine_python [2019/04/24 09:19] (current)
admin [Functions called on the engine template and the global template (0)]
Line 912: Line 912:
  print(message);​  print(message);​
 </​code>​ </​code>​
-The function is invoked when a console sends a custom message.+The function is invoked when a console sends a custom message. ​Available 9.0.13+
 ++||| ++|||
 |**onCustomNotificatorMessage(int clientId, string message)**|None|Dispatcher|**critical**| |**onCustomNotificatorMessage(int clientId, string message)**|None|Dispatcher|**critical**|
Line 921: Line 921:
  print(message);​  print(message);​
 </​code>​ </​code>​
-The function is invoked when a notificator sends a custom message.+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**|