Package mandala.rami.transparency

The transparency package is the common place for anything related to transparent asynchronous method invocation.

See:
          Description

Package mandala.rami.transparency Description

The transparency package is the common place for anything related to transparent asynchronous method invocation.

Package Summary

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:

The generic example

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();



Mandala help mailing list