| Constructor and Description |
|---|
ClientPostInvokeEvent(InvokeCommand toInvoke,
Object toReturn)
Creates an instance of this class.
|
| Modifier and Type | Method and Description |
|---|---|
InvokeCommand |
getCommand()
Returns the command to invoke.
|
Object |
getReturnObject()
Returns the object that was returned by the remote
method call.
|
void |
setReturnObject(Object object)
Sets this instance return object.
|
public ClientPostInvokeEvent(InvokeCommand toInvoke, Object toReturn)
toInvoke - the InvokeCommand that 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).public InvokeCommand getCommand()
InvokeCommand instance.public void setReturnObject(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.
object - the Object that consists of the return value
of the method call.public 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.Copyright © 2012 Sapia OSS. All Rights Reserved.