Class ScriptMessage

java.lang.Object
com.inductiveautomation.ignition.common.script.message.ScriptMessage
All Implemented Interfaces:
Serializable

public class ScriptMessage extends Object implements Serializable
A message sent between systems, containing a target handler name and a data payload.
See Also:
  • Constructor Details

    • ScriptMessage

      public ScriptMessage(String messageHandler, org.python.core.PyDictionary messagePayload)
  • Method Details

    • getMessageHandler

      public String getMessageHandler()
      The message handler that is to be invoked when the message arrives at its destination.
    • setMessageHandler

      public void setMessageHandler(String messageHandler)
      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