|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectmandala.jacob.remote.RemoteActiveMap.CallRemoteExceptionInfo
This class ease the handling of RemoteActiveMap.call()
method thrown exceptions.
Field Summary | |
java.lang.Object[] |
args
Arguments of the call. |
java.lang.Object |
key
Key of the call's target. |
MethodOp |
method
Method of the call. |
Constructor Summary | |
RemoteActiveMap.CallRemoteExceptionInfo(RemoteExceptionInfo info)
Creates a new CallRemoteExceptionInfo instance. |
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()
InvocationInfo implementation |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public final java.lang.Object key
Key of the call's target.
public final MethodOp method
Method of the call.
public final java.lang.Object[] args
Arguments of the call.
Constructor Detail |
public RemoteActiveMap.CallRemoteExceptionInfo(RemoteExceptionInfo info)
Creates a new CallRemoteExceptionInfo
instance.
The given info
object must be related to the
RemoteActiveMap.call()
method.
info
- an RemoteExceptionInfo
value
java.lang.IllegalArgumentException
- if the given info
object is not related to RemoteActiveMap.call()
Method Detail |
public MethodOp getMethod()
getMethod
in interface InvocationInfo
MethodOp
involved in an asynchronous method
invocationMethodOp
public java.lang.Object[] getArgs()
InvocationInfo
Returns the argument of the method involved in an asynchronous method invocation. This method is safe related
getArgs
in interface InvocationInfo
public Callback getCallback()
InvocationInfo
Returns the Callback
instance to use when the method
invocation is considered terminated. This method is safe
related
getCallback
in interface InvocationInfo
Callback
valueCallback
public ThreadOp getCallerThread()
InvocationInfo
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).
getCallerThread
in interface InvocationInfo
ThreadOp
valuepublic AsynchronousReference getAsynchronousReference()
InvocationInfo
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.
getAsynchronousReference
in interface InvocationInfo
AsynchronousReference
value
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |