public class PublishCyclicServiceInstance extends PublishServiceInstance implements CyclicServiceInstance
attachmethod, datas, externalTimeStamp, interDef, isActive, module, recmethod, sendmethod, service
Constructor and Description |
---|
PublishCyclicServiceInstance(org.da.protoframework.model.core.PublishService service,
org.da.protoframework.model.def.PushCyclicInterfaceDefinition def,
Module module)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
PublishCyclicServiceInstance |
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, hasUpdateCap, isProvidingData, isSubscriber, preSetup, setEntryPointMethod
addProtocol, 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, 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, setDataBooleanValue, setDataByteValue, setDataCharValue, setDataDoubleValue, setDataDoubleValue, setDataFileValue, setDataFloatValue, setDataFloatValue, setDataIntValue, setDataJSONValue, setDataLongValue, setDataShortValue, setDataStringValue, setDataURLValue, setDataURLValue, setDataValue, setDataXMLValue, setDataXMLValue, setDataXMLValue, setInvoker, setReceivedRequestID, setState, setTime, setTime, setTimeInternal, setUp, shutdown, toString
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getName, getSendMethod, invoke
public PublishCyclicServiceInstance(org.da.protoframework.model.core.PublishService service, org.da.protoframework.model.def.PushCyclicInterfaceDefinition def, Module module)
service
- the Servicedef
- the Interface Definitionmodule
- the Modulepublic PublishCyclicServiceInstance clone()
clone
in class PublishServiceInstance
public java.time.Duration getDuration()
getDuration
in interface CyclicServiceInstance
public void setActivated(boolean activated)
setActivated
in interface CyclicServiceInstance
activated
- true if the Service is activatedpublic boolean isActivated()
isActivated
in interface CyclicServiceInstance
public boolean isAutoInvoked()
isAutoInvoked
in interface CyclicServiceInstance
Copyright ©2017-2023 Dassault Aviation. All Rights Reserved. Documentation and source under the LGPL v3 licence