Class DigitalTwinTimerMessage
- java.lang.Object
-
- com.scaleoutsoftware.digitaltwin.core.DigitalTwinTimerMessage
-
public class DigitalTwinTimerMessage extends java.lang.ObjectA 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.StringgetModelName()Retrieve the digital twin model name.intgetTimerId()Retrieve the timer ID.java.lang.StringgetTimerName()Retrieve the timer name.TimerTypegetTimerType()Retrieve theTimerType.java.lang.StringgetTwinId()Retrieve the digital twin ID.
-
-
-
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 IDtimerId- the timer IDtimerName- the timer nametimerType- 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.
-
-