S
- the associated Service typeI
- the associated InterfaceDefinition typepublic abstract class ServiceInstance<S extends Service<?>,I extends InterfaceDefinition>
extends java.lang.Object
implements java.lang.Cloneable
Modifier and Type | Field and Description |
---|---|
protected java.lang.reflect.Method |
attachmethod
The Module attach / detach method.
|
protected Datas |
datas
The Service datas.
|
protected boolean |
externalTimeStamp
True if the timestamp of the service has been set externally.
|
protected I |
interDef
The associated interface definition.
|
protected boolean |
isActive
Return true if the Service is active.
|
protected Module |
module
The associated Module.
|
protected java.lang.reflect.Method |
recmethod
The Module receive method.
|
protected java.lang.reflect.Method |
sendmethod
The Module send method.
|
protected S |
service
The associated Service.
|
Constructor and Description |
---|
ServiceInstance(S service,
I interDef,
Module module)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
void |
addProtocol(org.da.protoframework.com.netty.ProtocolKey key,
org.da.protoframework.com.netty.Protocol protocol)
Add a Protocol.
|
protected void |
afterInvoke()
Performed after the Service has been invoked.
|
boolean |
attach()
Attach to the modules providers.
|
boolean |
attach(ModuleIDKey key)
Attach a module to the modules providers.
|
boolean |
attach(ModuleKey key)
Attach a module to the modules providers.
|
protected void |
beforeInvoke()
Performed before the Service is invoked.
|
ServiceInstance<S,I> |
clone()
Clone the service.
|
boolean |
copyFromService(ServiceInstance<?,?> service)
Copy the values of the output datas of a service to this service.
|
boolean |
copyFromService(ServiceInstance<?,?> service,
boolean strict)
Copy the values of the output datas of a service to this service.
|
boolean |
copyFromService(ServiceInstance<?,?> service,
boolean clone,
boolean strict)
Copy the values of the output datas of a service to this service.
|
int |
countDatas()
Return the number of Datas in the Service.
|
ServiceInstance<S,I> |
createCopy()
Return a copy of the service.
|
boolean |
detach()
Detach from the modules providers.
|
boolean |
detach(ModuleIDKey key)
Detach a module from the modules providers.
|
boolean |
detach(ModuleKey key)
Detach a module from the modules providers.
|
boolean |
error(char errorType)
Invoke the Service.
|
protected int |
fireEventLogger()
Fire the event logger factory and return the current incocation count.
|
ServiceInstance<?,?> |
getBroadcast()
Return the broadcast service instance associated with this service instance.
|
Data<?> |
getData(java.lang.String name)
Return the Data of a specified name.
|
Data.Array |
getDataAsArray(java.lang.String name)
Return the Data of a specified name, as an array. it will return null if the Data is not an array.
|
Data.MapData |
getDataAsMap(java.lang.String name)
Return the Data of a specified name, as a Map. it will return null if the Data is not a Map.
|
Data.Structure |
getDataAsStructure(java.lang.String name)
Return the Data of a specified name, as a structure. it will return null if the Data is not a structure.
|
Data.Switch |
getDataAsSwitch(java.lang.String name)
Return the Data of a specified name, as a Switch. it will return null if the Data is not a Switch.
|
Data.Union |
getDataAsUnion(java.lang.String name)
Return the Data of a specified name, as an Union. it will return null if the Data is not a Union.
|
Datas |
getDatas()
Return the Service instance datas.
|
Type |
getDataType(java.lang.String name)
Return the type of the Data a specified name.
|
java.lang.Object |
getDataValue(java.lang.String name)
Return a data value.
|
java.util.Map<java.lang.String,Data<?>> |
getDataValues()
Return the Service instance datas.
|
I |
getDefinition()
Return the associated interface definition.
|
long |
getElapsedTime()
Return the elapsed time is milliseconds since the start of the framework (using the
getTimestampMillis() . |
char |
getErrorType()
Return the error type for the ServiceState.
|
java.lang.String |
getFullName()
Return the Service full instance name.
|
long |
getID()
Return the Service ID.
|
java.util.Map<ModuleIDKey,ServiceInstance<?,?>> |
getInstanceListeners()
Return the Service instance subscribers.
|
java.util.Map<ModuleIDKey,ServiceInstance<?,?>> |
getInstanceSubscribers()
Return the Service instance subscribers.
|
long |
getInvokerAppliID()
Return the long ID of the application which last invoked the Service.
|
Module |
getInvokerModule()
Return the module which last invoked the Service.
|
long |
getInvokerModuleID()
Return the long ID of the module which last invoked the Service.
|
NamespaceKey |
getKey()
Return the Service instance key.
|
Module |
getModule()
Return the Service module.
|
ModuleIDKey |
getModuleIDKey()
Return the ModuleID key of this Service Module.
|
ModuleKey |
getModuleKey()
Return the Module key of this Service Module.
|
java.lang.String |
getName()
Return the Service instance name.
|
java.net.URI |
getNamespace()
Return the service namespace.
|
java.lang.String |
getNamespaceAsString()
Return the service namespace as a String.
|
NamespaceKey |
getNotNullKey()
Return the Service instance key, making sure the key is never null.
|
java.util.Map<org.da.protoframework.com.netty.ProtocolKey,org.da.protoframework.com.netty.Protocol> |
getProtocols()
Return the Map of protocols for the Service.
|
java.lang.reflect.Method |
getSendMethod()
Return the Module send method.
|
long |
getSendRequestID()
Return the Service request ID if the Service maintains a request ID.
|
S |
getService()
Return the associated Service.
|
java.lang.String |
getServiceKeyName()
Return the namespace identification of the associated service.
|
org.da.protoframework.model.core.ServiceState |
getState()
Return the state of the Service.
|
java.time.Duration |
getTimestamp()
Return the Service instance timestamp.
|
long |
getTimestampMillis()
Return the Service instance timestamp in ms.
|
Type |
getType(NamespaceKey key)
Return the type of a specified key.
|
Type |
getType(java.lang.String name)
Return the type of a specified name.
|
java.lang.Object |
getValue(java.lang.String name)
Return a data value.
|
java.util.List<java.lang.Object> |
getValueAsArray(java.lang.String name)
Return a data value as an array.
|
boolean |
getValueAsBoolean(java.lang.String name)
Return a data value as a boolean.
|
byte |
getValueAsByte(java.lang.String name)
Return a data value as a byte.
|
char |
getValueAsChar(java.lang.String name)
Return a data value as a char.
|
double |
getValueAsDouble(java.lang.String name)
Return a data value as a double.
|
double |
getValueAsDouble(java.lang.String name,
short unit)
Return a data value as a double.
|
float |
getValueAsFloat(java.lang.String name)
Return a data value as a float.
|
float |
getValueAsFloat(java.lang.String name,
short unit)
Return a data value as a float.
|
int |
getValueAsInt(java.lang.String name)
Return a data value as an int.
|
org.json.JSONElement |
getValueAsJSON(java.lang.String name)
Return a data value as a JSONObject.
|
long |
getValueAsLong(java.lang.String name)
Return a data value as a long.
|
short |
getValueAsShort(java.lang.String name)
Return a data value as a short.
|
java.lang.String |
getValueAsString(java.lang.String name)
Return a data value as a String.
|
java.util.List<java.lang.Object> |
getValueAsStructure(java.lang.String name)
Return a data value as a Structure.
|
java.net.URL |
getValueAsURL(java.lang.String name)
Return a data value as an URL.
|
org.mdiutil.xml.tree.XMLNode |
getValueAsXML(java.lang.String name)
Return a data value as an XMLNode.
|
static ServiceInstance<?,?> |
getVoidService()
Return an empty Service instance, which does nothing.
|
boolean |
hasBroadcast()
Return true if there is a broadcast service instance associated with this service instance.
|
boolean |
hasChanged()
Return true if at least one Data in the service has changed since the last reception.
|
boolean |
hasChanged(java.lang.String name)
Return true if the Data with a specified name has changed since the last reception.
|
boolean |
hasData(java.lang.String name)
Return true if there is a Data for a specified name.
|
boolean |
hasData(java.lang.String name,
boolean isInput)
Return true if there is a Data for a specified name.
|
boolean |
hasDatas(boolean isInput)
Return true if the Service instance has some datas for receiving or invoking services.
|
boolean |
hasQualifiedName(java.lang.String name)
Return true if the qualified name of the Service is equal to a specified key.
|
boolean |
hasQualifiedName(java.lang.String uri,
java.lang.String name)
Return true if the qualified name of the Service is equal to a specified key.
|
boolean |
hasRequestID()
Return true if the Service maintains a request ID.
|
protected boolean |
hasUpdateCap()
Return
Module.hasAllUpdateCap() by default. |
boolean |
invoke()
Invoke the Service.
|
protected boolean |
invoke(char invokeType)
Invoke the Service.
|
boolean |
invokeAndBlock()
Invoke the Service.
|
boolean |
invokeAndCopy()
Invoke the Service.
|
boolean |
invokedByMe()
Return true if the invocation of this service was performed by this module.
|
boolean |
isActive()
Return true if the Service is active.
|
boolean |
isCopyingDatas()
Return true if the datas of the service must be copied before being sent.
|
boolean |
isEnabled()
Return if the underlying module is enabled.
|
boolean |
isInvoked()
Return true if the service has been invoked at least once.
|
boolean |
isNominal()
Return true if the state of the Service is nominal.
|
boolean |
isNotified()
Return true if the service has been notified at least once.
|
abstract boolean |
isProvidingData()
Return true if this Service instanciation provides data to its associated Service.
|
boolean |
isSubscribedTo(java.lang.String topic)
Return true if the Service instance is subscribed to a specified topic.
|
abstract boolean |
isSubscriber()
Return true if this Service instanciation subscribes to its associated Service.
|
boolean |
isUsingExecutorMode()
Return true if the service if the executor mode is used to send services.
|
void |
notified(char type)
Be notified of the execution of the Service.
|
void |
notified(char type,
boolean forceBlock)
Be notified of the execution of the Service.
|
void |
notified(char type,
char invokeType)
Be notified of the execution of the Service.
|
void |
notified(char type,
char invokeType,
Datas datas)
Be notified of the execution of the Service.
|
void |
notified(char type,
int count,
boolean forceBlock)
Be notified of the execution of the 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.
|
protected void |
notifiedAttachDetach(char type)
Called for a
MessageConstants.ATTACH MessageConstants.DETACH or notification. |
protected void |
notifiedException(char type)
Called for a
MessageConstants.EXCEPTION notification. |
protected void |
notifiedInvoke(char type,
int count,
char invokeType)
Called for a
MessageConstants.INVOKE notification. |
void |
notifiedOnError(char errorType)
Be notified of the execution of the Service.
|
void |
preSetup()
pre-setup the Service instance.
|
void |
setActive(boolean isActive)
Set if the Service is active.
|
protected void |
setAttachEntryPointMethod(java.lang.reflect.Method method)
Set the attach / detach entry-point method.
|
void |
setBroadcast(ServiceInstance<?,?> broadcast)
Set the broadcast service instance associated with this 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 |
setDataDoubleValue(java.lang.String name,
double value,
short unit)
Set a double Data value.
|
short |
setDataFileValue(java.lang.String name,
java.io.File value)
Set a File Data value.
|
short |
setDataFloatValue(java.lang.String name,
float value)
Set a float Data value.
|
short |
setDataFloatValue(java.lang.String name,
float value,
short unit)
Set a float Data value.
|
short |
setDataIntValue(java.lang.String name,
int value)
Set an int Data value.
|
short |
setDataJSONValue(java.lang.String name,
org.json.JSONElement value)
Set a JSON 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.
|
short |
setDataURLValue(java.lang.String name,
java.lang.String value)
Set an URL Data value.
|
short |
setDataURLValue(java.lang.String name,
java.net.URL value)
Set an URL Data value.
|
short |
setDataValue(java.lang.String name,
java.lang.Object value)
Set a Data value.
|
short |
setDataXMLValue(java.lang.String name,
org.json.JSONElement value)
Set a JSONObject Data value.
|
short |
setDataXMLValue(java.lang.String name,
java.lang.String value)
Set an XML Data value.
|
short |
setDataXMLValue(java.lang.String name,
org.mdiutil.xml.tree.XMLNode value)
Set an XML Data value.
|
protected void |
setEntryPointMethod(java.lang.reflect.Method method)
Set the entry-point method.
|
void |
setInvoker(long appliD,
long moduleID)
Set the application ID and module ID which last invoked the Service.
|
void |
setReceivedRequestID(long requestID)
Set the request ID received by the Service instance.
|
void |
setState(org.da.protoframework.model.core.ServiceState state)
Set the ServiceState.
|
void |
setTime(java.time.Duration duration)
Set the Service instance timestamp.
|
void |
setTime(long time)
Set the Service instance timestamp.
|
protected void |
setTimeInternal()
Internally set the timestamp of the service.
|
void |
setUp()
SetUp the Service instance.
|
void |
shutdown()
Shutdown the Service Instance.
|
java.lang.String |
toString() |
protected I extends InterfaceDefinition interDef
protected Module module
protected java.lang.reflect.Method sendmethod
protected java.lang.reflect.Method recmethod
protected java.lang.reflect.Method attachmethod
protected Datas datas
protected boolean externalTimeStamp
protected boolean isActive
public java.lang.reflect.Method getSendMethod()
public static ServiceInstance<?,?> getVoidService()
public boolean isUsingExecutorMode()
public void setBroadcast(ServiceInstance<?,?> broadcast)
broadcast
- the broadcast service instancepublic boolean hasBroadcast()
public ServiceInstance<?,?> getBroadcast()
public boolean copyFromService(ServiceInstance<?,?> service)
service
- the service to copyData.copy(org.da.protoframework.model.core.Data, boolean)
public boolean copyFromService(ServiceInstance<?,?> service, boolean strict)
strict
argument:
Data.copy(org.da.protoframework.model.core.Data, boolean)
with the second argument set to true)service
- the service to copystrict
- true if the framework should check if the types of the datas are identical to make the copy for each datapublic boolean copyFromService(ServiceInstance<?,?> service, boolean clone, boolean strict)
strict
argument:
Data.copy(org.da.protoframework.model.core.Data, boolean)
with the second argument set to true)service
- the service to copyclone
- if the data content must be clonedstrict
- true if the framework should check if the types of the datas are identical to make the copy for each datapublic ServiceInstance<S,I> clone()
clone
in class java.lang.Object
public ServiceInstance<S,I> createCopy()
public java.lang.String toString()
toString
in class java.lang.Object
public java.lang.String getServiceKeyName()
public void shutdown()
public ModuleKey getModuleKey()
public ModuleIDKey getModuleIDKey()
public Module getModule()
public boolean isActive()
public org.da.protoframework.model.core.ServiceState getState()
ServiceState.NOMINAL
for a nominal stateServiceState.isNominal()
will return false.public char getErrorType()
MessageConstants.ERROR_NO_ERROR
for a nominal state.getState()
public boolean isNominal()
getState()
public void setState(org.da.protoframework.model.core.ServiceState state)
state
- the ServiceStategetState()
public abstract boolean isSubscriber()
public abstract boolean isProvidingData()
public boolean hasRequestID()
public long getSendRequestID()
public void setReceivedRequestID(long requestID)
requestID
- the request IDpublic void setActive(boolean isActive)
isActive
- true if the Service is activepublic boolean isSubscribedTo(java.lang.String topic)
topic
- the topicpublic long getID()
public java.util.Map<java.lang.String,Data<?>> getDataValues()
public int countDatas()
public Datas getDatas()
public void addProtocol(org.da.protoframework.com.netty.ProtocolKey key, org.da.protoframework.com.netty.Protocol protocol)
key
- the Protocol keyprotocol
- the Protocolpublic java.util.Map<org.da.protoframework.com.netty.ProtocolKey,org.da.protoframework.com.netty.Protocol> getProtocols()
public void setTime(long time)
time
- the timestamppublic void setTime(java.time.Duration duration)
duration
- the timestampprotected void setTimeInternal()
public java.time.Duration getTimestamp()
public long getTimestampMillis()
public long getElapsedTime()
getTimestampMillis()
.public S getService()
public java.util.Map<ModuleIDKey,ServiceInstance<?,?>> getInstanceListeners()
public java.util.Map<ModuleIDKey,ServiceInstance<?,?>> getInstanceSubscribers()
public I getDefinition()
public java.lang.String getFullName()
public java.lang.String getName()
public java.net.URI getNamespace()
public java.lang.String getNamespaceAsString()
public boolean hasQualifiedName(java.lang.String uri, java.lang.String name)
uri
- the key URI as a Stringname
- the key namepublic boolean hasQualifiedName(java.lang.String name)
name
- the key namepublic NamespaceKey getKey()
public NamespaceKey getNotNullKey()
public Data.Structure getDataAsStructure(java.lang.String name)
name
- the namepublic Data.Array getDataAsArray(java.lang.String name)
name
- the namepublic Data.MapData getDataAsMap(java.lang.String name)
name
- the namepublic Data.Union getDataAsUnion(java.lang.String name)
name
- the namepublic Data.Switch getDataAsSwitch(java.lang.String name)
name
- the namepublic Data<?> getData(java.lang.String name)
name
- the namepublic Type getDataType(java.lang.String name)
name
- the name of the Datapublic Type getType(java.lang.String name)
name
- the type namepublic Type getType(NamespaceKey key)
key
- the type keypublic boolean hasData(java.lang.String name, boolean isInput)
name
- the nameisInput
- true for input dataspublic boolean hasData(java.lang.String name)
name
- the namepublic boolean hasDatas(boolean isInput)
isInput
- true for receiving servicespublic boolean hasChanged()
public boolean hasChanged(java.lang.String name)
name
- the data namepublic short setDataValue(java.lang.String name, java.lang.Object value)
name
- the data namevalue
- the data valueDataState
)public java.lang.Object getDataValue(java.lang.String name)
name
- the data namepublic short setDataIntValue(java.lang.String name, int value)
name
- the data namevalue
- the data int valueDataState
)public int getValueAsInt(java.lang.String name)
name
- the data namepublic short setDataByteValue(java.lang.String name, byte value)
name
- the data namevalue
- the data byte valueDataState
)public byte getValueAsByte(java.lang.String name)
name
- the data namepublic short setDataLongValue(java.lang.String name, long value)
name
- the data namevalue
- the data long valueDataState
)public long getValueAsLong(java.lang.String name)
name
- the data namepublic short setDataCharValue(java.lang.String name, char value)
name
- the data namevalue
- the data char valueDataState
)public char getValueAsChar(java.lang.String name)
name
- the data namepublic short setDataShortValue(java.lang.String name, short value)
name
- the data namevalue
- the data short valueDataState
)public short getValueAsShort(java.lang.String name)
name
- the data namepublic short setDataFloatValue(java.lang.String name, float value)
name
- the data namevalue
- the data float valueDataState
)public float getValueAsFloat(java.lang.String name)
name
- the data namepublic float getValueAsFloat(java.lang.String name, short unit)
name
- the data nameunit
- the unitpublic short setDataFloatValue(java.lang.String name, float value, short unit)
name
- the data namevalue
- the data float valueunit
- the unitDataState
)public short setDataDoubleValue(java.lang.String name, double value)
name
- the data namevalue
- the data double valueDataState
)public double getValueAsDouble(java.lang.String name)
name
- the data namepublic short setDataDoubleValue(java.lang.String name, double value, short unit)
name
- the data namevalue
- the data double valueunit
- the unitDataState
)public double getValueAsDouble(java.lang.String name, short unit)
name
- the data nameunit
- the unitpublic short setDataBooleanValue(java.lang.String name, boolean value)
name
- the data namevalue
- the data boolean valueDataState
)public boolean getValueAsBoolean(java.lang.String name)
name
- the data namepublic short setDataStringValue(java.lang.String name, java.lang.String value)
name
- the data namevalue
- the data String valueDataState
)public java.lang.String getValueAsString(java.lang.String name)
name
- the data namepublic short setDataXMLValue(java.lang.String name, java.lang.String value)
name
- the data namevalue
- the data XML value, as a StringDataState
)public short setDataJSONValue(java.lang.String name, org.json.JSONElement value)
name
- the data namevalue
- the data JSON value, as a StringDataState
)public org.mdiutil.xml.tree.XMLNode getValueAsXML(java.lang.String name)
name
- the data namepublic short setDataXMLValue(java.lang.String name, org.mdiutil.xml.tree.XMLNode value)
name
- the data namevalue
- the data XML valueDataState
)public org.json.JSONElement getValueAsJSON(java.lang.String name)
name
- the data namepublic short setDataXMLValue(java.lang.String name, org.json.JSONElement value)
name
- the data namevalue
- the data JSONElement valueDataState
)public short setDataURLValue(java.lang.String name, java.lang.String value)
name
- the data namevalue
- the data URL value, as a StringDataState
)public short setDataFileValue(java.lang.String name, java.io.File value)
name
- the data namevalue
- the data File value, as a StringDataState
)public short setDataURLValue(java.lang.String name, java.net.URL value)
name
- the data namevalue
- the data URL valueDataState
)public java.lang.Object getValue(java.lang.String name)
name
- the data namepublic java.net.URL getValueAsURL(java.lang.String name)
name
- the data namepublic java.util.List<java.lang.Object> getValueAsArray(java.lang.String name)
name
- the data namepublic java.util.List<java.lang.Object> getValueAsStructure(java.lang.String name)
name
- the data nameprotected void setEntryPointMethod(java.lang.reflect.Method method)
method
- the methodprotected void setAttachEntryPointMethod(java.lang.reflect.Method method)
method
- the attach / detach entry-point methodpublic void preSetup() throws FrameworkException
FrameworkException
public void setUp()
public boolean attach(ModuleIDKey key)
key
- the module Keypublic boolean attach(ModuleKey key)
key
- the module Keypublic boolean detach(ModuleIDKey key)
key
- the module Keypublic boolean detach(ModuleKey key)
key
- the module Keypublic boolean attach()
public boolean detach()
public boolean error(char errorType)
isActive()
is false.errorType
- the error typepublic boolean isEnabled()
public boolean isInvoked()
public boolean isNotified()
protected int fireEventLogger()
protected boolean hasUpdateCap()
Module.hasAllUpdateCap()
by default.public boolean invokeAndBlock()
isActive()
is false.public boolean invokeAndCopy()
isActive()
is false.public boolean invoke()
isActive()
is false.protected boolean invoke(char invokeType)
isActive()
is false.invokeType
- the invocation typepublic final boolean isCopyingDatas()
protected void beforeInvoke()
protected void afterInvoke()
public void setInvoker(long appliD, long moduleID)
appliD
- the application IDmoduleID
- the module IDpublic boolean invokedByMe()
public long getInvokerAppliID()
public long getInvokerModuleID()
public Module getInvokerModule()
public void notifiedOnError(char errorType) throws FrameworkException
isActive()
is false.errorType
- the error typeFrameworkException
protected void notifiedInvoke(char type, int count, char invokeType)
MessageConstants.INVOKE
notification.invokeType
- the invocation typecount
- the invocation counttype
- the notification typeprotected void notifiedException(char type)
MessageConstants.EXCEPTION
notification. By default defers to MessageConstants.INVOKE
.type
- the notification typeprotected void notifiedAttachDetach(char type)
MessageConstants.ATTACH
MessageConstants.DETACH
or notification.type
- the notification typepublic void notified(char type, int count, char invokeType, Datas datas) throws FrameworkException
isActive()
is false.type
- the notification typecount
- the invocation countinvokeType
- the invocation typedatas
- the datasFrameworkException
public void notified(char type, char invokeType, Datas datas) throws FrameworkException
isActive()
is false.type
- the notification typeinvokeType
- the invocation typedatas
- the datasFrameworkException
public void notified(char type) throws FrameworkException
isActive()
is false.type
- the notification typeFrameworkException
public void notified(char type, boolean forceBlock) throws FrameworkException
isActive()
is false.type
- the notification typeforceBlock
- true for a force blocking invocationFrameworkException
public void notified(char type, char invokeType) throws FrameworkException
isActive()
is false.type
- the notification typeinvokeType
- the invocation typeFrameworkException
public void notified(char type, int count, boolean forceBlock) throws FrameworkException
isActive()
is false.type
- the notification typecount
- the invocation countforceBlock
- true for a force blocking invocationFrameworkException
public void notified(char type, int count, char invokeType) throws FrameworkException
isActive()
is false.type
- the notification typecount
- the invocation countinvokeType
- the invocation typeFrameworkException
Copyright ©2017-2023 Dassault Aviation. All Rights Reserved. Documentation and source under the LGPL v3 licence