Added a hack to de-duplicate hosts and some more checks when adding a host to minimize the chances for dupes

This commit is contained in:
Diego Waxemberg committed 2015-04-05 20:08:21 -07:00
1 parent 40a04eb08b
commit fd9ee45dac
4 files changed
+98 -10

No files matched your search

+22
View File
@@ -0,0 +1,22 @@
//
// CleanupCrew.h
// Limelight
//
// Created by Diego Waxemberg on 4/5/15.
// Copyright (c) 2015 Limelight Stream. All rights reserved.
//
#import <Foundation/Foundation.h>
#import "Host.h"
@protocol CleanupCallback <NSObject>
- (void) cleanedUpHosts:(NSSet*) host;
@end
@interface CleanupCrew : NSOperation
- (id) initWithHostList:(NSArray*) hostList andCallback:(id<CleanupCallback>)callback;
@end