This subclass of NSPort provides an
object-oriented wrapper to Mach IPC ports, which can be used either
as endpoint for distributed object connections, or for raw messaging.
NSMachPort objects only support local messaging;
NSSocketPort provides support for remote messaging
over a network.
@interface NSMachPort : NSPort
|
// Initializers |
- (id)initWithMachPort:(int)machPort;
|
// Class Methods |
+ (NSPort *)portWithMachPort:(int)machPort;
|
// Instance Methods |
- (int)machPort;
|
- (void)removeFromRunLoop:(NSRunLoop *)runLoop forMode:(NSString *)mode;
|
- (void)scheduleInRunLoop:(NSRunLoop *)runLoop forMode:(NSString *)mode;
|
// Methods Implemented by the Delegate |
- (void)handleMachMessage:(void *)msg;
|