public interface IOperation
Response
.
Clients can register any number of IOperationDelegate
s to get a
notification after the execution. Each IOperationDelegate
will only
be added once even if addOperationDelegate(IOperationDelegate)
is
called multiple times with the same argument.
Modifier and Type | Method and Description |
---|---|
void |
addOperationDelegate(IOperationDelegate delegate)
Adds the delivered
IOperationDelegate . |
void |
execute()
Executes this operation.
|
com.softwareag.mobile.runtime.comms.Response |
getResponse()
Returns the operation's response, containing information about the result
code and transferred data.
|
void |
removeOperationDelegate(IOperationDelegate delegate)
Removes the delivered
IOperationDelegate . |
void execute()
void addOperationDelegate(IOperationDelegate delegate)
IOperationDelegate
. If the same
IOperationDelegate
is already added, it will not be added again.void removeOperationDelegate(IOperationDelegate delegate)
IOperationDelegate
.com.softwareag.mobile.runtime.comms.Response getResponse()
Response
object for this operation