Moved discovery to a worker thread per host

This commit is contained in:
Diego Waxemberg committed 2015-01-02 23:56:28 -05:00
1 parent ee61dc9a59
commit 5aeedb894a
5 files changed
+166 -85

No files matched your search

+19
View File
@@ -0,0 +1,19 @@
//
// DiscoveryWorker.h
// Limelight
//
// Created by Diego Waxemberg on 1/2/15.
// Copyright (c) 2015 Limelight Stream. All rights reserved.
//
#import <Foundation/Foundation.h>
#import "Host.h"
@interface DiscoveryWorker : NSOperation
- (id) initWithHost:(Host*)host uniqueId:(NSString*)uniqueId cert:(NSData*)cert;
- (Host*) getHost;
+ (void) updateHost:(Host*)host withServerInfo:(NSData*)serverInfoData;
@end