![]() |
API 0.9.5
|
Represents an operation using an invocation that can be run in an CPOperationQueue. More...
#import <CPInvocationOperation.h>
Instance Methods | |
(id) | - init |
(id) | - initWithInvocation: |
(id) | - initWithTarget:selector:object: |
(CPInvocation) | - invocation |
(void) | - main |
(id) | - result |
Represents an operation using an invocation that can be run in an CPOperationQueue.
Definition at line 2 of file CPInvocationOperation.h.
- (id) init |
Reimplemented from CPOperation.
Definition at line 41 of file CPInvocationOperation.j.
- (id) initWithInvocation: | (CPInvocation) | inv |
Returns a CPInvocationOperation object initialized with the specified invocation object.
inv | the invocation |
Definition at line 54 of file CPInvocationOperation.j.
- (id) initWithTarget: | (id) | target | |
selector: | (SEL) | sel | |
object: | (id) | arg | |
Returns a CPInvocationOperation 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 70 of file CPInvocationOperation.j.
- (CPInvocation) invocation |
Returns the receiver’s invocation object.
Definition at line 83 of file CPInvocationOperation.j.
- (void) main |
Reimplemented from CPOperation.
Definition at line 33 of file CPInvocationOperation.j.
- (id) result |
Returns the result of the invocation or method.
Definition at line 91 of file CPInvocationOperation.j.