mandala.rami
Interface InvocationInfo

All Known Subinterfaces:
FutureClient, FutureServer, RemoteFutureClient, RemoteFutureServer, RemoteInvocationInfo
All Known Implementing Classes:
AbstractFutureClient, RemoteActiveMap.CallRemoteExceptionInfo, RemoteInvocationInfoProxy

public interface InvocationInfo

This interface provides methods to get informations on an asynchronous method invocation.

Every methods of this interface are safe related meaning the result they return is always valid.

This interface provides informations available before the real execution of the specified method.

See Also:
InvocationObserver, MethodResult, InvocationEventsWaiter, FutureClient

Method Summary
 java.lang.Object[] getArgs()
          Returns the argument of the method involved in an asynchronous method invocation.
 AsynchronousReference getAsynchronousReference()
          Returns the AsynchronousReference involved in an asynchronous method invocation.
 Callback getCallback()
          Returns the Callback instance to use when the method invocation is considered terminated.
 ThreadOp getCallerThread()
          Get the thread which has been registered has interested in this object.
 MethodOp getMethod()
          Returns the MethodOp involved in an asynchronous method invocation.
 

Method Detail

getAsynchronousReference

public AsynchronousReference getAsynchronousReference()

Returns the AsynchronousReference involved in an asynchronous method invocation. This method is safe related

The value returned is the asynchronous reference on which the reflective asynchronous invocation of the method returned by getMethod has been performed.

Returns:
the AsynchronousReference value

getMethod

public MethodOp getMethod()

Returns the MethodOp involved in an asynchronous method invocation. This method is safe related

Returns:
the MethodOp involved in an asynchronous method invocation
See Also:
MethodOp

getArgs

public java.lang.Object[] getArgs()

Returns the argument of the method involved in an asynchronous method invocation. This method is safe related

Returns:
the argument of the method involved in an asynchronous method invocation

getCallback

public Callback getCallback()

Returns the Callback instance to use when the method invocation is considered terminated. This method is safe related

Returns:
a Callback value
See Also:
Callback

getCallerThread

public ThreadOp getCallerThread()

Get the thread which has been registered has interested in this object. This method is safe related.

Implementation may return null if the information has not been set (maybe for efficiency reasons).

Returns:
a ThreadOp value


Mandala help mailing list