mandala.rami.impl
Interface FutureFactory

All Known Subinterfaces:
RemoteActiveMap.RemoteFutureFactory
All Known Implementing Classes:
AbstractFutureFactoryWrapper, BasicFutureFactory, RMIFutureFactoryWrapper, RMIFutureFactoryWrapper, TCPFutureFactoryWrapper, UDPFutureFactoryWrapper

public interface FutureFactory

This interface defines a factory used by AsynchronousReferenceImpl to create future object.

See Also:
FutureFactory.FutureComponents, FutureClient, FutureServer

Nested Class Summary
static interface FutureFactory.FutureComponents
          A FutureComponents object wraps both side of a future object : the client side and the server side.
 
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.
 

Method Detail

getFutureComponents

public 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.

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