public abstract class VoidOperation extends BaseOperation<Void>
Constructor and Description |
---|
VoidOperation() |
Modifier and Type | Method and Description |
---|---|
Void |
getResult()
This method will only yield a valid result after a call to invoke.
|
Void |
invoke()
The method that will be called on the server side.
|
void |
setResult(Object result)
setResult will be called on the client side to assign the result.
|
protected abstract void |
voidInvoke()
Invokes this void operation.
|
beforeInvoke, getClientToken
protected abstract void voidInvoke() throws Exception
Exception
- exception when invoking this operationpublic Void invoke() throws Exception
Operation
Exception
- exception when invoking this operationpublic void setResult(Object result)
Operation
result
- The result of invoke obtained by the rmi-callCopyright © 2016 SAPERION AG. All rights reserved.