DekGenius.com
[ Team LiB ] Previous Section Next Section

NSMachBootstrapServer Mac OS X 10.0

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.

figs/cocn_1350.gif

@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;

    [ Team LiB ] Previous Section Next Section