public interface ExecutionMessageNotification
ExecutableComponent when using a proprietarily executing client.
Usually this is indicated by interrupting the thread and calling
RuntimeEnvironment.dispatch()
. With a proprietarily executing client, the runtime service will use this
method instead if there is a callback registered for it. Additionally, the
client needs to reply synchronously, that is, it needs to indicate how the
request will be handled. | Modifier and Type | Method and Description |
|---|---|
de.aristaflow.adept2.model.runtimeenvironment.messages.execution.ReplyMessage<?> |
dispatch(de.aristaflow.adept2.model.runtimeenvironment.messages.execution.ExecutionMessage message)
Notifies the designated message to a listener, that is the runtime manager
has retrieved a signal for the corresponding execution session.
|
de.aristaflow.adept2.model.runtimeenvironment.messages.execution.ReplyMessage<?> dispatch(de.aristaflow.adept2.model.runtimeenvironment.messages.execution.ExecutionMessage message)
null should be returned. CloseMessage does not mean, the execution has terminated when
the reply is sent but rather the execution will close shortly.message - The message providing the signal for the corresponding
execution session.null if no reply is required. This
does not need to be the very same message instance that is provided
but it needs to have the same
session ID.