Class DigitalTwinTimerMessage
java.lang.Object
com.scaleoutsoftware.digitaltwin.core.DigitalTwinTimerMessage
A message sent to a digital twin instance's message processor.
-
Constructor Summary
ConstructorsConstructorDescriptionDigitalTwinTimerMessage
(String modelName, String twinId, int timerId, String timerName, TimerType timerType) Construct a digital twin timer message. -
Method Summary
Modifier and TypeMethodDescriptionRetrieve the digital twin model name.int
Retrieve the timer ID.Retrieve the timer name.Retrieve theTimerType
.Retrieve the digital twin ID.
-
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 IDtimerId
- the timer IDtimerName
- the timer nametimerType
- the timer type
-
-
Method Details
-
getModelName
Retrieve the digital twin model name.- Returns:
- the digital twin model name.
-
getTwinId
Retrieve the digital twin ID.- Returns:
- the digital twin ID.
-
getTimerId
public int getTimerId()Retrieve the timer ID.- Returns:
- the timer ID.
-
getTimerName
Retrieve the timer name.- Returns:
- the timer name.
-
getTimerType
Retrieve theTimerType
.- Returns:
- the
TimerType
-