@interface NSNetService : NSObject
|
// Initializers |
- (id)initWithDomain:(NSString *)domain type:(NSString *)type name:(NSString *)name;
|
- (id)initWithDomain:(NSString *)domain type:(NSString *)type name:(NSString *)name port:(int)port;
|
// Accessor Methods |
- (void)setDelegate:(id)delegate;
|
- (id)delegate;
|
- (void)setProtocolSpecificInformation:(NSString *)specificInformation;
|
- (NSString *)protocolSpecificInformation;
|
// Instance Methods |
- (NSString *)name;
|
- (NSArray *)addresses;
|
- (NSString *)domain;
|
- (void)publish;
|
- (void)removeFromRunLoop:(NSRunLoop *)aRunLoop forMode:(NSString *)mode;
|
- (void)resolve;
|
- (void)scheduleInRunLoop:(NSRunLoop *)aRunLoop forMode:(NSString *)mode;
|
- (void)stop;
|
- (NSString *)type;
|
// Methods Implemented by the Delegate |
- (void)netService:(NSNetService *)sender didNotPublish:(NSDictionary *)errorDict;
|
- (void)netService:(NSNetService *)sender didNotResolve:(NSDictionary *)errorDict;
|
- (void)netServiceDidResolveAddress:(NSNetService *)sender;
|
- (void)netServiceDidStop:(NSNetService *)sender;
|
- (void)netServiceWillPublish:(NSNetService *)sender;
|
- (void)netServiceWillResolve:(NSNetService *)sender;
|