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, java.io.Serializable
- public abstract class RemoteResultUpdaterProxy
- extends AbstractRemoteProxy
- implements RemoteResultUpdater
Generic proxy for remote ResultUpdater
implementation.
- Since:
- 1.0
- Version:
- $Revision: 1.5 $
- Author:
- eipi
- See Also:
RemoteResultUpdater
,
AbstractRemoteProxy
,
ExceptionHandler
,
Serialized Form
Method Summary |
void |
setCalleeThread(ThreadOp callee)
Set the thread which has been created for the invocation of the
method. |
void |
setResult(java.lang.Object result,
java.lang.Throwable throwable)
Set the result of the asynchronous method invocation. |
void |
setStarted()
Informs clients that the method is being started. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
RemoteResultUpdaterProxy
public RemoteResultUpdaterProxy(Client client,
Exporter exporter,
ExceptionHandler exceptionHandler)
setResult
public void setResult(java.lang.Object result,
java.lang.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
setStarted
public void setStarted()
- Description copied from interface:
ResultUpdater
Informs clients that the method is being started.
- Specified by:
setStarted
in interface ResultUpdater
Mandala help mailing list