WLDelegate Protocol Reference
Conforms to | NSObject |
Declared in | WLDelegate.h |
A protocol that defines methods that a delegate for the WLClient invokeProcedure method should implement, to receive notifications about the success or failure of the method call.
Tasks
– onSuccess: required method
– onFailure: required method
Instance Methods
onFailure:
This method will be called if any kind of failure occurred during the execution of WLCLient invokeProcedure.
- (void)onFailure:(WLFailResponse *)response
Parameters
- response
-
contains the error code and error message, and optionally the results from the server, along with any invocation context object and status.
Declared In
WLDelegate.h
onSuccess:
This method will be called upon a successful call to WLCLient invokeProcedure with the WLResponse containing the
- (void)onSuccess:(WLResponse *)response
Parameters
- response
-
contains the results from the server, along with any invocation context object and status.
Discussion
results from the server, along with any invocation context object and status.
Declared In
WLDelegate.h
© Copyright IBM Corp. 2017