DekGenius.com
[ Team LiB ] Previous Section Next Section

NSMessagePortNameServer Mac OS X 10.0

This subclass of NSPortNameServer accepts and returns instances of NSMessagePort. 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 NSMachBootstrapServer and NSSocketPortNameServer.

figs/cocn_1353.gif

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

    [ Team LiB ] Previous Section Next Section