public class ReceiveEventServiceInstance extends ServiceInstance<org.da.protoframework.model.core.EventService,org.da.protoframework.model.def.ReceiveEventInterfaceDefinition>
attachmethod, datas, externalTimeStamp, interDef, isActive, module, recmethod, sendmethod, service| Constructor and Description |
|---|
ReceiveEventServiceInstance(org.da.protoframework.model.core.EventService service,
org.da.protoframework.model.def.ReceiveEventInterfaceDefinition def,
Module module)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
ReceiveEventServiceInstance |
clone()
Clone the service.
|
boolean |
consume()
Consume the Service.
|
boolean |
isProvidingData()
Return false.
|
boolean |
isReceived()
Retur true if the Event Service has been received after the last
consume() call. |
boolean |
isSubscribedTo(java.lang.String topic)
Return true if this subscribe Service instance is subscribed to a particular topic.
|
boolean |
isSubscriber()
Return true.
|
boolean |
isTriggeringService()
Return true if another event service is triggered by this service.
|
void |
notified(char type,
int count,
char invokeType)
Be notified of the execution of the Service.
|
void |
notified(char type,
int count,
char invokeType,
Datas datas)
Be notified of the execution of the Service.
|
void |
preSetup()
Setup the Service instance.
|
SendEventServiceInstance |
triggeredService()
Return another event service which is triggered by this service.
|
addProtocol, afterInvoke, attach, attach, attach, beforeInvoke, copyFromService, copyFromService, copyFromService, countDatas, createCopy, 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, isUsingExecutorMode, 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, setEntryPointMethod, setInvoker, setReceivedRequestID, setState, setTime, setTime, setTimeInternal, setUp, shutdown, toStringpublic ReceiveEventServiceInstance(org.da.protoframework.model.core.EventService service,
org.da.protoframework.model.def.ReceiveEventInterfaceDefinition def,
Module module)
service - the Servicedef - the Interface Definitionmodule - the Modulepublic ReceiveEventServiceInstance clone()
clone in class ServiceInstance<org.da.protoframework.model.core.EventService,org.da.protoframework.model.def.ReceiveEventInterfaceDefinition>public boolean isSubscriber()
isSubscriber in class ServiceInstance<org.da.protoframework.model.core.EventService,org.da.protoframework.model.def.ReceiveEventInterfaceDefinition>public boolean isProvidingData()
isProvidingData in class ServiceInstance<org.da.protoframework.model.core.EventService,org.da.protoframework.model.def.ReceiveEventInterfaceDefinition>public SendEventServiceInstance triggeredService()
public boolean isTriggeringService()
public void preSetup()
throws FrameworkException
preSetup in class ServiceInstance<org.da.protoframework.model.core.EventService,org.da.protoframework.model.def.ReceiveEventInterfaceDefinition>FrameworkExceptionpublic boolean isReceived()
consume() call.public boolean consume()
consume call before this onepublic boolean isSubscribedTo(java.lang.String topic)
isSubscribedTo in class ServiceInstance<org.da.protoframework.model.core.EventService,org.da.protoframework.model.def.ReceiveEventInterfaceDefinition>topic - the topicpublic void notified(char type,
int count,
char invokeType,
Datas datas)
throws FrameworkException
ServiceInstance.isActive() is false.notified in class ServiceInstance<org.da.protoframework.model.core.EventService,org.da.protoframework.model.def.ReceiveEventInterfaceDefinition>type - the notification typedatas - the datascount - the invocation countinvokeType - the invocation typeFrameworkExceptionpublic void notified(char type,
int count,
char invokeType)
throws FrameworkException
ServiceInstance.isActive() is false.notified in class ServiceInstance<org.da.protoframework.model.core.EventService,org.da.protoframework.model.def.ReceiveEventInterfaceDefinition>type - the notification typeinvokeType - the invocation typecount - the invocation countFrameworkExceptionCopyright ©2017-2023 Dassault Aviation. All Rights Reserved. Documentation and source under the LGPL v3 licence