|
|||||||||||
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 FormNested 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()
MethodResult
Return 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
MethodResult
Return 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 MethodResult
java.lang.Throwable
- The exception thrown during the call.public java.lang.Object getReturnedResultTrusted()
MethodResult
Return 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 MethodResult
public boolean exceptionOccured()
MethodResult
Returns true
if an exception occured during the
asynchronous method invocation, false
otherwise. This
method is unsafe related.
exceptionOccured
in interface MethodResult
true
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 |