mandala.jacob.remote.rmi
Class RMIFutureFactoryWrapper

java.lang.Object
  extended bymandala.jacob.remote.rmi.RMIFutureFactoryWrapper
All Implemented Interfaces:
FutureFactory, RemoteActiveMap.RemoteFutureFactory, java.io.Serializable

public class RMIFutureFactoryWrapper
extends java.lang.Object
implements RemoteActiveMap.RemoteFutureFactory, java.io.Serializable

This class wraps an instance of the FutureFactory interface in an RMI remote object.

Futures created by this factory remains local to the host where they have been created (i.e. where the caller thread remains) and are accessed remotely via RMI (by the callee thread)..

Since:
1.0
Version:
$Revision: 1.5 $
Author:
eipi
See Also:
FutureFactory, StoredObjectReference, AsynchronousReferenceImpl, FutureServer, FutureClient, Serializable, Serialized Form

Nested Class Summary
 
Nested classes inherited from class mandala.rami.impl.FutureFactory
FutureFactory.FutureComponents
 
Constructor Summary
RMIFutureFactoryWrapper(FutureFactory futureFactory)
           
 
Method Summary
 FutureFactory.FutureComponents getFutureComponents(AsynchronousReference ar, MethodOp method, java.lang.Object[] args, ThreadOp caller, Callback callBack)
          Returns the FutureComponents of the specified reflexive asynchronous method invocation.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RMIFutureFactoryWrapper

public RMIFutureFactoryWrapper(FutureFactory futureFactory)
Method Detail

getFutureComponents

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

Returns the FutureComponents of the specified reflexive asynchronous method invocation.

Specified by:
getFutureComponents in interface FutureFactory
Parameters:
method - the method which will be invoked asynchronously
args - the arguments of the specified method
caller - the thread which has requested the reflexive asynchronous method invocation
callBack - the Callback to use when the asynchronous method invocation is terminated.
Returns:
a FutureComponents object representing both side of the future object
See Also:
FutureFactory.FutureComponents, Callback, MethodOp, ThreadOp


Mandala help mailing list