Class DigitalTwinTimerMessage


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

      Constructors 
      Constructor Description
      DigitalTwinTimerMessage​(java.lang.String modelName, java.lang.String twinId, int timerId, java.lang.String timerName, TimerType timerType)
      Construct a digital twin timer message.
    • Method Summary

      Modifier and Type Method Description
      java.lang.String getModelName()
      Retrieve the digital twin model name.
      int getTimerId()
      Retrieve the timer ID.
      java.lang.String getTimerName()
      Retrieve the timer name.
      TimerType getTimerType()
      Retrieve the TimerType.
      java.lang.String getTwinId()
      Retrieve the digital twin ID.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • DigitalTwinTimerMessage

        public DigitalTwinTimerMessage​(java.lang.String modelName,
                                       java.lang.String twinId,
                                       int timerId,
                                       java.lang.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 Detail

      • getModelName

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

        public java.lang.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 java.lang.String getTimerName()
        Retrieve the timer name.
        Returns:
        the timer name.