moonlight-ios/Limelight/Network/MDNSManager.h

29 lines
517 B
C
Raw Normal View History

2014-10-14 19:21:48 -04:00
//
// MDNSManager.h
// Moonlight
2014-10-14 19:21:48 -04:00
//
// Created by Diego Waxemberg on 10/14/14.
// Copyright (c) 2014 Moonlight Stream. All rights reserved.
2014-10-14 19:21:48 -04:00
//
#import "TemporaryHost.h"
2014-10-14 19:21:48 -04:00
@protocol MDNSCallback <NSObject>
- (void) updateHost:(TemporaryHost*)host;
2014-10-14 19:21:48 -04:00
@end
@interface MDNSManager : NSObject <NSNetServiceBrowserDelegate, NSNetServiceDelegate>
@property id<MDNSCallback> callback;
- (id) initWithCallback:(id<MDNSCallback>) callback;
- (void) searchForHosts;
2014-10-21 04:18:50 -04:00
- (void) stopSearching;
- (void) forgetHosts;
2014-10-14 19:21:48 -04:00
@end