|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectmandala.jacob.remote.AbstractRemote
mandala.jacob.remote.gpf.AbstractRemoteProxy
mandala.jacob.remote.gpf.RemoteMethodResultProxy
Generic proxy for remote MethodResult
implementation.
RemoteMethodResult,
AbstractRemoteProxy,
ExceptionHandler,
Serialized Form| Nested Class Summary |
| Nested classes inherited from class mandala.jacob.remote.RemoteMethodResult |
RemoteMethodResult.RemoteMethodResultMethods |
| 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 | |
RemoteMethodResultProxy(Client client,
Exporter exporter,
ExceptionHandler exceptionHandler)
|
|
| Method Summary | |
boolean |
exceptionOccured()
Returns true if an exception occured during the
asynchronous method invocation, false otherwise. |
java.lang.Throwable |
getException()
Return the exception thrown during the call to an asynchronous method invocation. |
java.lang.Object |
getReturnedResult()
Return the result returned by the call to an asynchronous method invocation. |
java.lang.Object |
getReturnedResultTrusted()
Return the result returned by the call to an asynchronous method invocation. |
| Methods inherited from class mandala.jacob.remote.gpf.AbstractRemoteProxy |
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 |
public RemoteMethodResultProxy(Client client,
Exporter exporter,
ExceptionHandler exceptionHandler)
| Method Detail |
public java.lang.Throwable getException()
MethodResultReturn the exception thrown during the call to an asynchronous method invocation. This method is unsafe related.
getException in interface MethodResult
public java.lang.Object getReturnedResult()
throws java.lang.Throwable
MethodResultReturn the result returned by the call to an asynchronous method
invocation. If doesExceptionOccured() returns
true, the exception caught is thrown. This method is
unsafe related.
getReturnedResult in interface MethodResultjava.lang.Throwable - The exception thrown during the call.public java.lang.Object getReturnedResultTrusted()
MethodResultReturn the result returned by the call to an asynchronous method invocation. This method is unsafe related.
If doesExceptionOccured() returns true,
the value returned is undefined.
getReturnedResultTrusted in interface MethodResultpublic boolean exceptionOccured()
MethodResultReturns true if an exception occured during the
asynchronous method invocation, false otherwise. This
method is unsafe related.
exceptionOccured in interface MethodResulttrue if an exception occured during the
asynchronous method invocation, false otherwise.
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||