| Constructor and Description |
|---|
ServerPostInvokeEvent(Object target,
InvokeCommand cmd,
long invokeDelay)
Creates an instance of this class with the given parameters.
|
ServerPostInvokeEvent(Object target,
InvokeCommand cmd,
long invokeDelay,
Throwable err) |
| Modifier and Type | Method and Description |
|---|---|
Throwable |
getError() |
InvokeCommand |
getInvokeCommand()
Returns the command representing the invocation that was made.
|
long |
getInvokeDelay()
Returns the approximate amount of time the call has taken
locally.
|
Object |
getResultObject() |
Object |
getTarget()
Returns the object on which the method invocation was performed.
|
void |
setResultObject(Object result) |
public ServerPostInvokeEvent(Object target, InvokeCommand cmd, long invokeDelay)
target - the object on which a remote method invocation was performed.cmd - the command representing the method invocation.invokeDelay - the time taken by the invocation (in millis).public ServerPostInvokeEvent(Object target, InvokeCommand cmd, long invokeDelay, Throwable err)
err - the Throwable that was thrown at method invocation.ServerPostInvokeEvent(Object, InvokeCommand, long)public InvokeCommand getInvokeCommand()
InvokeCommand.public Object getTarget()
Object.public long getInvokeDelay()
public Throwable getError()
Throwable that the method invocation corresponding
to this instance generated, or null if such event occurred.public Object getResultObject()
null if no such
result exists.public void setResultObject(Object result)
result - the result of the invocation.Copyright © 2012 Sapia OSS. All Rights Reserved.