public interface CyclicServiceInstance
Modifier and Type | Method and Description |
---|---|
java.time.Duration |
getDuration()
Return the duration (ie the invocation frequency).
|
java.lang.String |
getName()
Return the Service instance name.
|
java.lang.reflect.Method |
getSendMethod()
Return the Module send method.
|
boolean |
invoke()
Invoke the Service.
|
boolean |
isActivated()
Return true if the Service is activated.
|
boolean |
isAutoInvoked()
Return true if the Service will be automatically invoked for each cycle.
|
void |
setActivated(boolean activated)
Set if the Service is activated.
|
java.lang.String getName()
void setActivated(boolean activated)
activated
- true if the Service is activatedboolean isActivated()
java.time.Duration getDuration()
boolean isAutoInvoked()
java.lang.reflect.Method getSendMethod()
boolean invoke()
isActivated()
is false.Copyright ©2017-2023 Dassault Aviation. All Rights Reserved. Documentation and source under the LGPL v3 licence