public interface AsynchronousApplicationInstance extends ApplicationInstance
| Modifier and Type | Method and Description |
|---|---|
boolean |
isReceiving()
Indicates that the instance will implement RECEIVE behaviour.
|
boolean |
isSending()
Indicates that the instance will implement SEND behaviour.
|
Map |
receive(Map data,
Iterator outDataTypes)
Callback when the corresponding activity instance is awakened from the
HIBERNATED state. |
void |
send()
Callback to make an asynchronous call.
|
bootstrap, cleanup, getOutAccessPointValue, setInAccessPointValuevoid send()
throws InvocationTargetException
InvocationTargetException - Any exception thrown while attempting to send has to be delivered via
this exception.Map receive(Map data, Iterator outDataTypes)
HIBERNATED state.data - The data received.outDataTypes - A set of AccessPointBean names to be expected as return values.
This is filled by the CARNOT engine and is an optimization hint to prevent
the application instance to evaluate all possible OUT AccessPoints.boolean isSending()
true if the the application provides asynchronous send
functionality, false if not.boolean isReceiving()
true if the the application provides asynchronous receive
functionality, false if not.Copyright © 2016 Eclipse Stardust. All Rights Reserved.