PATH  Documentation > Mac OS X > Foundation Reference: Objective-C



Table of Contents

NSMachBootstrapServer


Inherits from:
NSPortNameServer : NSObject
Conforms to:
NSObject
(NSObject)
Declared in:
Foundation/NSPortNameServer.h




Class Description


Description forthcoming. This port name server actually takes and returns instances of NSMachPort.

Port removal functionality is not supported in NSMachBootstrapServer; if you want to cancel a service, you have to destroy the port (invalidate the NSMachPort given to registerPort:forName:).




Method Types


Getting the server object
+ sharedInstance
Looking ports up
- portForName:
- portForName:onHost:
Registering ports
- registerPort:forName:


Class Methods



sharedInstance

+ (id)sharedInstance

Description forthcoming.


Instance Methods



portForName:

- (NSPort *)portForName:(NSString *)portName

Description forthcoming.

See Also: - portForName:onHost:



portForName:onHost:

- (NSPort *)portForName:(NSString *)portName onHost:(NSString *)hostName

Description forthcoming. Since NSMachBootstrapServer is a local-only server; hostName must be the empty string or nil

registerPort:forName:

- (BOOL)registerPort:(NSPort *)aPort forName:(NSString *)portName

Description forthcoming.


Table of Contents