Fix compile errors
[pithos-ios] / Classes / LoadBalancerConnectionThrottle.h
1 //
2 //  LoadBalancerConnectionThrottle.h
3 //  OpenStack
4 //
5 //  Created by Mike Mayo on 7/11/11.
6 //  Copyright 2011 __MyCompanyName__. All rights reserved.
7 //
8
9 #import <Foundation/Foundation.h>
10
11
12 @interface LoadBalancerConnectionThrottle : NSObject <NSCoding> {
13     NSInteger minConnections;
14     NSInteger maxConnections;
15     NSInteger maxConnectionRate;
16     NSInteger rateInterval;
17 }
18
19 @property (assign) NSInteger minConnections;
20 @property (assign) NSInteger maxConnections;
21 @property (assign) NSInteger maxConnectionRate;
22 @property (assign) NSInteger rateInterval;
23
24 + (LoadBalancerConnectionThrottle *)fromJSON:(NSDictionary *)json;
25 - (NSString *)toJSON;
26
27 @end