Represents an operation using an invocation that can be run in an CPOperationQueue. More...
Public Member Functions | |
(id) | - init [implementation] |
(id) | - initWithInvocation: [implementation] |
(id) | - initWithTarget:selector:object: [implementation] |
(CPInvocation) | - invocation [implementation] |
(void) | - main [implementation] |
(id) | - result [implementation] |
Represents an operation using an invocation that can be run in an CPOperationQueue.
Definition at line 31 of file CPInvocationOperation.j.
- (id) init | [implementation] |
Definition at line 45 of file CPInvocationOperation.j.
- (id) initWithInvocation: | (CPInvocation) | inv | [implementation] |
Returns a CPInvocationOperation object initialized with the specified invocation object.
inv | the invocation |
Definition at line 58 of file CPInvocationOperation.j.
- (id) initWithTarget: | (id) | target | ||
selector: | (SEL) | sel | ||
object: | (id) | arg | ||
[implementation] |
Returns an NSInvocationOperation object initialized with the specified target and selector.
target | the target | |
sel | the selector that should be called on the target | |
arg | the arguments |
Definition at line 74 of file CPInvocationOperation.j.
- (CPInvocation) invocation | [implementation] |
Returns the receiver’s invocation object.
Definition at line 87 of file CPInvocationOperation.j.
- (void) main | [implementation] |
Definition at line 37 of file CPInvocationOperation.j.
- (id) result | [implementation] |
Returns the result of the invocation or method.
Definition at line 95 of file CPInvocationOperation.j.