public class SendEventServiceInstance extends ServiceInstance<org.da.protoframework.model.core.EventService,org.da.protoframework.model.def.SendEventInterfaceDefinition>
attachmethod, datas, externalTimeStamp, interDef, isActive, module, recmethod, sendmethod, service| Constructor and Description |
|---|
SendEventServiceInstance(org.da.protoframework.model.core.EventService service,
org.da.protoframework.model.def.SendEventInterfaceDefinition def,
Module module)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
SendEventServiceInstance |
clone()
Clone the service.
|
SendEventServiceInstance |
createCopy()
Return a copy of the service.
|
boolean |
isProvidingData()
Return true.
|
boolean |
isSubscriber()
Return false.
|
void |
preSetup()
Setup the Service instance.
|
short |
setDataBooleanValue(java.lang.String name,
boolean value)
Set a boolean Data value.
|
short |
setDataByteValue(java.lang.String name,
byte value)
Set a byte Data value.
|
short |
setDataCharValue(java.lang.String name,
char value)
Set a char Data value.
|
short |
setDataDoubleValue(java.lang.String name,
double value)
Set a double Data value.
|
short |
setDataFloatValue(java.lang.String name,
float value)
Set a float Data value.
|
short |
setDataIntValue(java.lang.String name,
int value)
Set an int Data value.
|
short |
setDataLongValue(java.lang.String name,
long value)
Set a long Data value.
|
short |
setDataShortValue(java.lang.String name,
short value)
Set a short Data value.
|
short |
setDataStringValue(java.lang.String name,
java.lang.String value)
Set a String Data value.
|
protected void |
setEntryPointMethod(java.lang.reflect.Method method)
Set the entry-point method.
|
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, 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, toStringpublic SendEventServiceInstance(org.da.protoframework.model.core.EventService service,
org.da.protoframework.model.def.SendEventInterfaceDefinition def,
Module module)
service - the Servicedef - the Interface Definitionmodule - the Modulepublic SendEventServiceInstance clone()
clone in class ServiceInstance<org.da.protoframework.model.core.EventService,org.da.protoframework.model.def.SendEventInterfaceDefinition>public SendEventServiceInstance createCopy()
createCopy in class ServiceInstance<org.da.protoframework.model.core.EventService,org.da.protoframework.model.def.SendEventInterfaceDefinition>public boolean isSubscriber()
isSubscriber in class ServiceInstance<org.da.protoframework.model.core.EventService,org.da.protoframework.model.def.SendEventInterfaceDefinition>public boolean isProvidingData()
isProvidingData in class ServiceInstance<org.da.protoframework.model.core.EventService,org.da.protoframework.model.def.SendEventInterfaceDefinition>protected void setEntryPointMethod(java.lang.reflect.Method method)
setEntryPointMethod in class ServiceInstance<org.da.protoframework.model.core.EventService,org.da.protoframework.model.def.SendEventInterfaceDefinition>method - the methodpublic void preSetup()
throws FrameworkException
preSetup in class ServiceInstance<org.da.protoframework.model.core.EventService,org.da.protoframework.model.def.SendEventInterfaceDefinition>FrameworkExceptionpublic short setDataIntValue(java.lang.String name,
int value)
setDataIntValue in class ServiceInstance<org.da.protoframework.model.core.EventService,org.da.protoframework.model.def.SendEventInterfaceDefinition>name - the data namevalue - the data int valueDataState)public short setDataByteValue(java.lang.String name,
byte value)
setDataByteValue in class ServiceInstance<org.da.protoframework.model.core.EventService,org.da.protoframework.model.def.SendEventInterfaceDefinition>name - the data namevalue - the data byte valueDataState)public short setDataLongValue(java.lang.String name,
long value)
setDataLongValue in class ServiceInstance<org.da.protoframework.model.core.EventService,org.da.protoframework.model.def.SendEventInterfaceDefinition>name - the data namevalue - the data long valueDataState)public short setDataCharValue(java.lang.String name,
char value)
setDataCharValue in class ServiceInstance<org.da.protoframework.model.core.EventService,org.da.protoframework.model.def.SendEventInterfaceDefinition>name - the data namevalue - the data char valueDataState)public short setDataShortValue(java.lang.String name,
short value)
setDataShortValue in class ServiceInstance<org.da.protoframework.model.core.EventService,org.da.protoframework.model.def.SendEventInterfaceDefinition>name - the data namevalue - the data short valueDataState)public short setDataFloatValue(java.lang.String name,
float value)
setDataFloatValue in class ServiceInstance<org.da.protoframework.model.core.EventService,org.da.protoframework.model.def.SendEventInterfaceDefinition>name - the data namevalue - the data float valueDataState)public short setDataDoubleValue(java.lang.String name,
double value)
setDataDoubleValue in class ServiceInstance<org.da.protoframework.model.core.EventService,org.da.protoframework.model.def.SendEventInterfaceDefinition>name - the data namevalue - the data double valueDataState)public short setDataBooleanValue(java.lang.String name,
boolean value)
setDataBooleanValue in class ServiceInstance<org.da.protoframework.model.core.EventService,org.da.protoframework.model.def.SendEventInterfaceDefinition>name - the data namevalue - the data boolean valueDataState)public short setDataStringValue(java.lang.String name,
java.lang.String value)
setDataStringValue in class ServiceInstance<org.da.protoframework.model.core.EventService,org.da.protoframework.model.def.SendEventInterfaceDefinition>name - the data namevalue - the data String valueDataState)Copyright ©2017-2023 Dassault Aviation. All Rights Reserved. Documentation and source under the LGPL v3 licence