mandala.jacob.remote.gpf
Class RemoteInvocationInfoProxy

java.lang.Object
  extended bymandala.jacob.remote.AbstractRemote
      extended bymandala.jacob.remote.gpf.AbstractRemoteProxy
          extended bymandala.jacob.remote.gpf.RemoteInvocationInfoProxy
All Implemented Interfaces:
InvocationInfo, Remote, RemoteInvocationInfo, java.io.Serializable

public abstract class RemoteInvocationInfoProxy
extends AbstractRemoteProxy
implements RemoteInvocationInfo

Generic proxy for remote InvocationInfo implementation.

Since:
2.0
Version:
$Revision: 1.3 $
Author:
eipi
See Also:
RemoteInvocationInfo, AbstractRemoteProxy, ExceptionHandler, Serialized Form

Nested Class Summary
 
Nested classes inherited from class mandala.jacob.remote.RemoteInvocationInfo
RemoteInvocationInfo.RemoteInvocationInfoMethods
 
Field Summary
 
Fields inherited from class mandala.jacob.remote.gpf.AbstractRemoteProxy
client, exporter
 
Fields inherited from class mandala.jacob.remote.AbstractRemote
defaultExceptionHandler, exceptionHandler, syslog
 
Constructor Summary
RemoteInvocationInfoProxy(Client client, Exporter exporter, ExceptionHandler exceptionHandler)
           
 
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.
 java.lang.String toString()
           
 
Methods inherited from class mandala.jacob.remote.AbstractRemote
getDefaultExceptionHandler, getExceptionHandler, getSyslog, handleException, setDefaultExceptionHandler, setExceptionHandler, setSyslog
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface mandala.jacob.remote.Remote
getExceptionHandler, setExceptionHandler
 

Constructor Detail

RemoteInvocationInfoProxy

public RemoteInvocationInfoProxy(Client client,
                                 Exporter exporter,
                                 ExceptionHandler exceptionHandler)
Method Detail

getAsynchronousReference

public AsynchronousReference getAsynchronousReference()
Description copied from interface: 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.

Specified by:
getAsynchronousReference in interface InvocationInfo
Returns:
the AsynchronousReference value

getMethod

public MethodOp getMethod()
Description copied from interface: InvocationInfo

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

Specified by:
getMethod in interface InvocationInfo
Returns:
the MethodOp involved in an asynchronous method invocation
See Also:
MethodOp

getArgs

public java.lang.Object[] getArgs()
Description copied from interface: InvocationInfo

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

Specified by:
getArgs in interface InvocationInfo
Returns:
the argument of the method involved in an asynchronous method invocation

getCallback

public Callback getCallback()
Description copied from interface: InvocationInfo

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

Specified by:
getCallback in interface InvocationInfo
Returns:
a Callback value
See Also:
Callback

getCallerThread

public ThreadOp getCallerThread()
Description copied from interface: 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).

Specified by:
getCallerThread in interface InvocationInfo
Returns:
a ThreadOp value

toString

public java.lang.String toString()
Overrides:
toString in class AbstractRemoteProxy


Mandala help mailing list