May 2003
Intermediate to advanced
566 pages
27h 29m
English
NSPortCoder — Mac OS X 10.0
This concrete subclass of NSCoder is used by the
distributed objects system to encode, transmit, and decode
object
proxies between two NSConnection objects residing
in separate processes (objects, too, can be transmitted using this
class).
|
|
@interface NSPortCoder : NSCoder
|
// Initializers
|
- (id)initWithReceivePort:(NSPort *)rcvPort sendPort:(NSPort *)sndPort components:(NSArray *)comps; |
// Class Methods
|
+ (id) portCoderWithReceivePort:(NSPort *)rcvPort sendPort:(NSPort *)sndPort components:(NSArray *)comps; |
// Instance Methods
|
- (NSConnection *)connection;
|
- (NSPort *)decodePortObject;
|
- (void)dispatch;
|
- (void)encodePortObject:(NSPort *)aport; |
- (BOOL)isBycopy;
|
- (BOOL)isByref;
|
Read now
Unlock full access