mandala.jacob.remote.gpf
Class RemoteResultUpdaterProxy
java.lang.Object
mandala.jacob.remote.AbstractRemote
mandala.jacob.remote.gpf.AbstractRemoteProxy
mandala.jacob.remote.gpf.RemoteResultUpdaterProxy
- All Implemented Interfaces:
- Remote, RemoteResultUpdater, ResultUpdater, Serializable
- public abstract class RemoteResultUpdaterProxy
- extends AbstractRemoteProxy
- implements RemoteResultUpdater
Generic proxy for remote ResultUpdater
implementation.
- Since:
- 1.0
- Version:
- $Revision: 1.3 $
- Author:
- eipi
- See Also:
RemoteResultUpdater
,
AbstractRemoteProxy
,
ExceptionHandler
,
Serialized Form
RemoteResultUpdaterProxy
public RemoteResultUpdaterProxy(Client client,
Exporter exporter,
ExceptionHandler exceptionHandler)
setResult
public void setResult(Object result,
Throwable throwable)
- Description copied from interface:
ResultUpdater
Set the result of the asynchronous method invocation.
The result may be either the returned value of the method or the
thrown exception.
Result must be considered available after this call.
- Specified by:
setResult
in interface ResultUpdater
- Parameters:
result
- the result returned by an asynchronous method invocation,
which can be null
.throwable
- the exception thrown by an asynchronous method
invocation, a null
value is considered as no exception has
been thrown.
setCalleeThread
public void setCalleeThread(ThreadOp callee)
- Description copied from interface:
ResultUpdater
Set the thread which has been created for the invocation of the
method.
- Specified by:
setCalleeThread
in interface ResultUpdater
- Parameters:
callee
- the thread which has been created for the invocation of the
method
Mandala help mailing list