public class SubscribeServiceInstance extends ServiceInstance<org.da.protoframework.model.core.PublishService,org.da.protoframework.model.def.SubscribeInterfaceDefinition>
attachmethod, datas, externalTimeStamp, interDef, isActive, module, recmethod, sendmethod, service
Constructor and Description |
---|
SubscribeServiceInstance(org.da.protoframework.model.core.PublishService service,
org.da.protoframework.model.def.SubscribeInterfaceDefinition def,
Module module)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
boolean |
isProvidingData()
Return false.
|
boolean |
isSubscribedTo(java.lang.String topic)
Return true if this subscribe Service instance is subscribed to a particular topic.
|
boolean |
isSubscriber()
Return true.
|
void |
preSetup()
Setup the Service instance.
|
addProtocol, afterInvoke, attach, attach, attach, beforeInvoke, clone, 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, 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, toString
public SubscribeServiceInstance(org.da.protoframework.model.core.PublishService service, org.da.protoframework.model.def.SubscribeInterfaceDefinition def, Module module)
service
- the Servicedef
- the Interface Definitionmodule
- the Modulepublic boolean isSubscriber()
isSubscriber
in class ServiceInstance<org.da.protoframework.model.core.PublishService,org.da.protoframework.model.def.SubscribeInterfaceDefinition>
public boolean isProvidingData()
isProvidingData
in class ServiceInstance<org.da.protoframework.model.core.PublishService,org.da.protoframework.model.def.SubscribeInterfaceDefinition>
public void preSetup() throws FrameworkException
preSetup
in class ServiceInstance<org.da.protoframework.model.core.PublishService,org.da.protoframework.model.def.SubscribeInterfaceDefinition>
FrameworkException
public boolean isSubscribedTo(java.lang.String topic)
isSubscribedTo
in class ServiceInstance<org.da.protoframework.model.core.PublishService,org.da.protoframework.model.def.SubscribeInterfaceDefinition>
topic
- the topicCopyright ©2017-2023 Dassault Aviation. All Rights Reserved. Documentation and source under the LGPL v3 licence