mandala.jacob.remote.gpf
Class AbstractFutureFactoryWrapper
java.lang.Object
mandala.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
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
exporter
protected final Exporter exporter
exceptionHandler
protected final ExceptionHandler exceptionHandler
futureFactory
protected final FutureFactory futureFactory
AbstractFutureFactoryWrapper
public AbstractFutureFactoryWrapper(Exporter exporter,
ExceptionHandler exceptionHandler,
FutureFactory futureFactory)
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 asynchronouslyargs
- the arguments of the specified methodcaller
- the thread which has requested the reflexive asynchronous
method invocationcallBack
- 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