Class ScriptMessage
java.lang.Object
com.inductiveautomation.ignition.common.script.message.ScriptMessage
- All Implemented Interfaces:
Serializable
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionScriptMessage(String messageHandler, org.python.core.PyDictionary messagePayload) -
Method Summary
Modifier and TypeMethodDescriptionThe message handler that is to be invoked when the message arrives at its destination.org.python.core.PyDictionaryThe message parameters that the user passed in as a PyDictionaryvoidsetMessageHandler(String messageHandler) Sets the message handler that is to be invoked when the message arrives at its destination.voidsetMessagePayload(org.python.core.PyDictionary dict) Sets the message parameters that the user passed in as a PyDictionary
-
Constructor Details
-
ScriptMessage
-
-
Method Details
-
getMessageHandler
The message handler that is to be invoked when the message arrives at its destination. -
setMessageHandler
Sets the message handler that is to be invoked when the message arrives at its destination. -
getMessagePayload
public org.python.core.PyDictionary getMessagePayload()The message parameters that the user passed in as a PyDictionary -
setMessagePayload
public void setMessagePayload(org.python.core.PyDictionary dict) Sets the message parameters that the user passed in as a PyDictionary
-