|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.sapia.ubik.rmi.server.invocation.ClientPostInvokeEvent
public class ClientPostInvokeEvent
This event is generated on the client-side, after a given method has been invoked.
| Constructor Summary | |
|---|---|
ClientPostInvokeEvent(InvokeCommand toInvoke,
java.lang.Object toReturn)
Creates an instance of this class. |
|
| Method Summary | |
|---|---|
InvokeCommand |
getCommand()
Returns the command to invoke. |
java.lang.Object |
getReturnObject()
Returns the object that was returned by the remote method call. |
void |
setReturnObject(java.lang.Object object)
Sets this instance return object. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ClientPostInvokeEvent(InvokeCommand toInvoke,
java.lang.Object toReturn)
invocable - the Invocable command to was sent to
the server to perform the method call.toReturn - the object returned by the remote method
(might be null (if the called method returned
such); must be Throwable if the called method
threw and exception).| Method Detail |
|---|
public InvokeCommand getCommand()
InvokeCommand instance.public void setReturnObject(java.lang.Object object)
This method call is ignored if the original object
reference is null, meaning that the
method actually returned nothing, or has a return
type of void.
an - Object.public java.lang.Object getReturnObject()
Important: the object that will be returned might be an
instance of Throwable, provided the method
threw an exception.
Object, or null if
the invoked remote method returned nothing, or has a
return type of void.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||