Class DigitalTwinTimerMessage

java.lang.Object
com.scaleoutsoftware.digitaltwin.core.DigitalTwinTimerMessage

public class DigitalTwinTimerMessage extends Object
A message sent to a digital twin instance's message processor.
  • Constructor Details

    • DigitalTwinTimerMessage

      public DigitalTwinTimerMessage(String modelName, String twinId, int timerId, String timerName, TimerType timerType)
      Construct a digital twin timer message.
      Parameters:
      modelName - the digital twin model name.
      twinId - the digital twin instance ID
      timerId - the timer ID
      timerName - the timer name
      timerType - the timer type
  • Method Details

    • getModelName

      public String getModelName()
      Retrieve the digital twin model name.
      Returns:
      the digital twin model name.
    • getTwinId

      public String getTwinId()
      Retrieve the digital twin ID.
      Returns:
      the digital twin ID.
    • getTimerId

      public int getTimerId()
      Retrieve the timer ID.
      Returns:
      the timer ID.
    • getTimerName

      public String getTimerName()
      Retrieve the timer name.
      Returns:
      the timer name.
    • getTimerType

      public TimerType getTimerType()
      Retrieve the TimerType.
      Returns:
      the TimerType