mandala.jacob.remote.rmi
Class RMIFutureFactoryWrapper
java.lang.Object
mandala.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
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RMIFutureFactoryWrapper
public RMIFutureFactoryWrapper(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