mirror of
https://github.com/samsonjs/arq_restore.git
synced 2026-04-10 11:55:48 +00:00
22 lines
564 B
Objective-C
22 lines
564 B
Objective-C
//
|
|
// StreamPairFactory.h
|
|
// CFN
|
|
//
|
|
// Created by Stefan Reitshamer on 2/25/10.
|
|
// Copyright 2010 __MyCompanyName__. All rights reserved.
|
|
//
|
|
|
|
#import <Cocoa/Cocoa.h>
|
|
@protocol StreamPair;
|
|
|
|
@interface StreamPairFactory : NSObject {
|
|
NSTimeInterval maxStreamPairLifetime;
|
|
NSLock *lock;
|
|
NSMutableDictionary *threadMap;
|
|
|
|
}
|
|
+ (StreamPairFactory *)theFactory;
|
|
- (void)setMaxStreamPairLifetime:(NSTimeInterval)theMaxLifetime;
|
|
- (id <StreamPair>)newStreamPairToHost:(NSString *)theHost useSSL:(BOOL)isUseSSL error:(NSError **)error;
|
|
- (void)clear;
|
|
@end
|