|
|
|
@ -13,7 +13,7 @@
|
|
|
|
|
BOOL wrtReachable;
|
|
|
|
|
@private
|
|
|
|
|
NSString *hostname;
|
|
|
|
|
NSInteger *port;
|
|
|
|
|
int port;
|
|
|
|
|
NSString *username;
|
|
|
|
|
NSString *password;
|
|
|
|
|
|
|
|
|
@ -26,7 +26,7 @@
|
|
|
|
|
//SEL errorCallback;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
- (id) initWithHostname:(NSString*)new_hostname port:(NSInteger*)new_port username:(NSString*)new_username password:(NSString*)new_password;
|
|
|
|
|
- (id) initWithHostname:(NSString*)new_hostname port:(int)new_port username:(NSString*)new_username password:(NSString*)new_password;
|
|
|
|
|
|
|
|
|
|
- (NSMutableURLRequest*) buildRequest:(NSString*)uri;
|
|
|
|
|
- (NSMutableURLRequest*) requestForBandwidthViewerForInterface:(NSString*)interface;
|
|
|
|
@ -35,8 +35,8 @@
|
|
|
|
|
- (NSString*) getHostname;
|
|
|
|
|
- (void) setHostname:(NSString*)new_hostname;
|
|
|
|
|
|
|
|
|
|
- (NSInteger*) getPort;
|
|
|
|
|
- (void) setPort:(NSInteger*)new_port;
|
|
|
|
|
- (int) getPort;
|
|
|
|
|
- (void) setPort:(int)new_port;
|
|
|
|
|
|
|
|
|
|
- (NSString*) getUsername;
|
|
|
|
|
- (void) setUsername:(NSString*)new_username;
|
|
|
|
|