forked from mirrors/linphone-iphone
32 lines
683 B
Objective-C
Executable file
32 lines
683 B
Objective-C
Executable file
#import <Foundation/Foundation.h>
|
|
#import "XMLRPCConnectionDelegate.h"
|
|
|
|
@class XMLRPCConnection, XMLRPCRequest;
|
|
|
|
@interface XMLRPCConnectionManager : NSObject {
|
|
NSMutableDictionary *myConnections;
|
|
}
|
|
|
|
+ (XMLRPCConnectionManager *)sharedManager;
|
|
|
|
#pragma mark -
|
|
|
|
- (NSString *)spawnConnectionWithXMLRPCRequest: (XMLRPCRequest *)request delegate: (id<XMLRPCConnectionDelegate>)delegate;
|
|
|
|
#pragma mark -
|
|
|
|
- (NSArray *)activeConnectionIdentifiers;
|
|
|
|
- (long)numberOfActiveConnections;
|
|
|
|
#pragma mark -
|
|
|
|
- (XMLRPCConnection *)connectionForIdentifier: (NSString *)identifier;
|
|
|
|
#pragma mark -
|
|
|
|
- (void)closeConnectionForIdentifier: (NSString *)identifier;
|
|
|
|
- (void)closeConnections;
|
|
|
|
@end
|