mirror of
https://github.com/moonlight-stream/moonlight-ios.git
synced 2026-06-17 06:01:13 +00:00
Moved discovery to a worker thread per host
This commit is contained in:
@@ -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
|
||||
Reference in New Issue
Block a user