|
|||||||||||
PREV PACKAGE NEXT PACKAGE | FRAMES NO FRAMES |
See:
Description
The transparency package is the common place for anything related to transparent asynchronous method invocation.
RAMI provides a way to communicate with any objects asynchronously through
the use of asynchronous references. Communication is ensured through
the AsynchronousReference.call(mandala.util.MethodOp,
Object[])
wich is asynchronous. Using this method is painfull. Transparency is
the mechanism used to invoke method "almost" as usual.
Two distincts mechanisms are provided to provide reflective asynchronous method invocation. They are:
total-transparency
: the
complexity of the reflective asynchronous method invocation is entirely
hidden. This seems to the easiest way.
semi-transparency
: the
complexity of the reflective asynchronous method invocation is
partially hidden. This is the prefered way.
Below is an example of sequential calls that subpackages may refer to in order to illustrate the mechanism they provide for the execution of step 2 and step 3 concurrently:
// Step 1 MyClass myObject = new MyClass(); // Step 2 MyResult result = myObject.myMethod(myParameters); // Step 3 doingSomething(); // Step 4 MyInfos infos = result.getInfos();
|
|||||||||||
PREV PACKAGE NEXT PACKAGE | FRAMES NO FRAMES |