Name

NSMachBootstrapServer — Mac OS X 10.0

Synopsis

This subclass of NSPortNameServer returns and accepts instances of NSMachPort. NSConnection objects use port name servers to register and discover communication ports that can be used for distributed objects connections. Additional subclasses of NSPortNameServer that handle other types of ports are NSSocketPortNameServer and NSMessagePortNameServer.

image with no caption

@interface NSMachBootstrapServer : NSPortNameServer
                                  // Class Methods
   + (id)sharedInstance;
                                  // Instance Methods
   - (NSPort *)portForName:(NSString *)name;
   - (NSPort *)portForName:(NSString *)name 
                                 host:(NSString *)host;
   - (BOOL)registerPort:(NSPort *)port 
                                 name:(NSString *)name;

Get Cocoa in a Nutshell now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.