|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface Recipient
An interface for an object that can receive messages from the Objective-C runtime. In order to receive messages, the object should be passed to the RuntimeUtils.createProxy() method.
The NSObject class is a concrete implementation of this interface that contains all of the plumbing necessary to operate in the world of the Objective-C runtime. It is probably best to just subclass NSObject rather than implement your own Recipient class.
NSObject,
NSProxy Class Reference| Method Summary | |
|---|---|
void |
forwardInvocation(long invocation)
Handles the invocation of a method on the recipient. |
long |
methodSignatureForSelector(long selector)
Returns the method signature for a specified selector. |
boolean |
respondsToSelector(long selector)
Checks to see if this object responds to the specified selector. |
| Method Detail |
|---|
long methodSignatureForSelector(long selector)
selector - The pointer to the selector to check.
void forwardInvocation(long invocation)
invocation - The NSInvocation object.For a concrete imlementation.,
forwardInvocation: Method reference (from NSProxy)boolean respondsToSelector(long selector)
selector -
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||