-
Notifications
You must be signed in to change notification settings - Fork 315
/
Connection.h
51 lines (47 loc) · 1.49 KB
/
Connection.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
//
// Database.h
// MongoHub
//
// Created by Syd on 10-4-24.
// Copyright 2010 MusicPeace.ORG. All rights reserved.
//
#import "Database.h"
@interface Connection: NSManagedObject {
NSString *host;
NSNumber *hostport;
NSString *servers;
NSString *repl_name;
NSString *alias;
NSString *adminuser;
NSString *adminpass;
NSString *defaultdb;
NSString *sshhost;
NSNumber *sshport;
NSString *sshuser;
NSString *sshpassword;
NSString *sshkeyfile;
NSString *bindaddress;
NSNumber *bindport;
NSSet *databases;
NSNumber *usessh;
NSNumber *userepl;
}
@property (nonatomic, retain) NSString *host;
@property (nonatomic, retain) NSNumber *hostport;
@property (nonatomic, retain) NSString *servers;
@property (nonatomic, retain) NSString *repl_name;
@property (nonatomic, retain) NSString *alias;
@property (nonatomic, retain) NSString *adminuser;
@property (nonatomic, retain) NSString *adminpass;
@property (nonatomic, retain) NSString *defaultdb;
@property (nonatomic, retain) NSSet *databases;
@property (nonatomic, retain) NSString *sshhost;
@property (nonatomic, retain) NSNumber *sshport;
@property (nonatomic, retain) NSString *sshuser;
@property (nonatomic, retain) NSString *sshpassword;
@property (nonatomic, retain) NSString *sshkeyfile;
@property (nonatomic, retain) NSString *bindaddress;
@property (nonatomic, retain) NSNumber *bindport;
@property (nonatomic, retain) NSNumber *usessh;
@property (nonatomic, retain) NSNumber *userepl;
@end