public class SendEventCyclicServiceInstance extends SendEventServiceInstance implements CyclicServiceInstance
attachmethod, datas, externalTimeStamp, interDef, isActive, module, recmethod, sendmethod, service| Constructor and Description |
|---|
SendEventCyclicServiceInstance(org.da.protoframework.model.core.EventService service,
org.da.protoframework.model.def.SendEventCyclicInterfaceDefinition def,
Module module)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
SendEventCyclicServiceInstance |
clone()
Clone the service.
|
java.time.Duration |
getDuration()
Return the duration (ie the invocation frequency).
|
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.
|
createCopy, isProvidingData, isSubscriber, preSetup, setDataBooleanValue, setDataByteValue, setDataCharValue, setDataDoubleValue, setDataFloatValue, setDataIntValue, setDataLongValue, setDataShortValue, setDataStringValue, setEntryPointMethodaddProtocol, afterInvoke, attach, attach, attach, beforeInvoke, copyFromService, copyFromService, copyFromService, countDatas, detach, detach, detach, error, fireEventLogger, getData, getDataAsArray, getDataAsMap, getDataAsStructure, getDataAsSwitch, getDataAsUnion, getDatas, getDataType, getDataValue, getDataValues, getDefinition, getElapsedTime, getErrorType, getFullName, getID, getInstanceListeners, getInstanceSubscribers, getInvokerAppliID, getInvokerModule, getInvokerModuleID, getKey, getModule, getModuleIDKey, getModuleKey, getName, getNamespace, getNamespaceAsString, getProtocols, getSendMethod, getSendRequestID, getService, getState, getTimestamp, getTimestampMillis, getType, getType, getValue, getValueAsArray, getValueAsBoolean, getValueAsByte, getValueAsChar, getValueAsDouble, getValueAsDouble, getValueAsFloat, getValueAsFloat, getValueAsInt, getValueAsJSON, getValueAsLong, getValueAsShort, getValueAsString, getValueAsStructure, getValueAsURL, getValueAsXML, getVoidService, hasChanged, hasChanged, hasData, hasData, hasDatas, hasQualifiedName, hasQualifiedName, hasRequestID, hasUpdateCap, invoke, invoke, invokeAndBlock, invokeAndCopy, invokedByMe, isActive, isCopyingDatas, isEnabled, isInvoked, isNominal, isNotified, isSubscribedTo, isUsingExecutorMode, notified, notified, notified, notified, notified, notified, notified, notifiedAttachDetach, notifiedException, notifiedInvoke, notifiedOnError, setActive, setAttachEntryPointMethod, setDataDoubleValue, setDataFileValue, setDataFloatValue, setDataJSONValue, setDataURLValue, setDataURLValue, setDataValue, setDataXMLValue, setDataXMLValue, setDataXMLValue, setInvoker, setReceivedRequestID, setState, setTime, setTime, setTimeInternal, setUp, shutdown, toStringequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetName, getSendMethod, invokepublic SendEventCyclicServiceInstance(org.da.protoframework.model.core.EventService service,
org.da.protoframework.model.def.SendEventCyclicInterfaceDefinition def,
Module module)
service - the Servicedef - the Interface Definitionmodule - the Modulepublic void setActivated(boolean activated)
setActivated in interface CyclicServiceInstanceactivated - true if the Service is activatedpublic boolean isActivated()
isActivated in interface CyclicServiceInstancepublic SendEventCyclicServiceInstance clone()
clone in class SendEventServiceInstancepublic java.time.Duration getDuration()
getDuration in interface CyclicServiceInstancepublic boolean isAutoInvoked()
isAutoInvoked in interface CyclicServiceInstanceCopyright ©2017-2023 Dassault Aviation. All Rights Reserved. Documentation and source under the LGPL v3 licence