mandala.jacob.remote.gpf
Class AbstractFutureFactoryWrapper

java.lang.Object
  extended bymandala.jacob.remote.gpf.AbstractFutureFactoryWrapper
All Implemented Interfaces:
FutureFactory, RemoteActiveMap.RemoteFutureFactory, java.io.Serializable
Direct Known Subclasses:
RMIFutureFactoryWrapper, TCPFutureFactoryWrapper, UDPFutureFactoryWrapper

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

Abstract class for FutureFactory wrapper implementation.

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

Nested Class Summary
protected  class AbstractFutureFactoryWrapper.RemoteFutureComponentsWrapper
           
 
Nested classes inherited from class mandala.rami.impl.FutureFactory
FutureFactory.FutureComponents
 
Field Summary
protected  ExceptionHandler exceptionHandler
           
protected  Exporter exporter
           
protected  FutureFactory futureFactory
           
 
Constructor Summary
AbstractFutureFactoryWrapper(Exporter exporter, ExceptionHandler exceptionHandler, 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
 

Field Detail

exporter

protected final Exporter exporter

exceptionHandler

protected final ExceptionHandler exceptionHandler

futureFactory

protected final FutureFactory futureFactory
Constructor Detail

AbstractFutureFactoryWrapper

public AbstractFutureFactoryWrapper(Exporter exporter,
                                    ExceptionHandler exceptionHandler,
                                    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