Declared in | OCClient/OCInvocationContext.h |
Base class | NSObject |
Guides | Client Libraries (Tutorial)Client Libraries Conceptual Guide |
An invocation context manages the execution of messages inside an invocation group. It is passed to its execution block as an argument.
[OCCInvocationGroup executeBlock:
^(OCCInvocationContext *context)
{
…
}];
By now there is only one property error
, which simply signals an error while execution.
Error executing a invocation.
NSError *error (readonly, nonatomic)
This property is set by the clients message invocation code and contains the error that occurred while sending a message to the remote service. If there has not been an error, it is nil
.
Consecutive messages in the context are not dispatched. Therefore once set it never returns to nil
.