mandala.jacob.remote.rmi
Class RMIDistributedFutureFactory

java.lang.Object
  extended bymandala.jacob.remote.rmi.RMIDistributedFutureFactory

public class RMIDistributedFutureFactory
extends java.lang.Object

This class implements the FutureFactory interface used by the AsynchronousReferenceImpl class and by the StoredObjectReference class.

This factory creates distributed futures, where the FutureServer are copied where needed (where the callee thread runs the asynchronous reflexive asynchronous method invocation) while FutureClient stay local to the caller thread. Futures created by this implementation needs a Serializable Callback instance providing remote handling of the result.

Since:
1.0
Version:
$Revision: 1.3 $
Author:
eipi
See Also:
FutureFactory, StoredObjectReference, AsynchronousReferenceImpl, FutureServer, FutureClient, Callback, Serializable

Constructor Summary
RMIDistributedFutureFactory()
           
 
Method Summary
 FutureFactory.FutureComponents getFutureComponents(AsynchronousReference ar, MethodOp method, java.lang.Object[] args, ThreadOp caller, Callback callBack)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RMIDistributedFutureFactory

public RMIDistributedFutureFactory()
Method Detail

getFutureComponents

public FutureFactory.FutureComponents getFutureComponents(AsynchronousReference ar,
                                                          MethodOp method,
                                                          java.lang.Object[] args,
                                                          ThreadOp caller,
                                                          Callback callBack)


Mandala help mailing list